public void commit() {
    final Map<String, PropertyMap> dirtyMaps = this.dirtyMaps;
    synchronized(dirtyMaps) {
      if (!dirtyMaps.isEmpty()) {
        store.saveProperties(dirtyMaps.entrySet().iterator());
        dirtyMaps.clear();
      }
    }
  }
Saves all pending updates to store.
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/properties/PropertyManager.java