presto-main/src/main/java/io/prestosql/transaction/TransactionManager.java/TransactionManager/getCatalogMetadataForWrite
class TransactionManager:    CatalogMetadata getCatalogMetadataForWrite(TransactionId transactionId, CatalogName catalogName);