presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/SemiTransactionalHiveMetastore.java/SemiTransactionalHiveMetastore/createDatabase
class SemiTransactionalHiveMetastore:    public synchronized void createDatabase(HiveIdentity identity, Database database)
    {
        setExclusive((delegate, hdfsEnvironment) -> delegate.createDatabase(identity, database));
    }