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