public TSStatus createDatabase(final DatabaseSchemaPlan plan) {
    final String databaseName = plan.getSchema().getName();
    final DatabasePartitionTable databasePartitionTable = new DatabasePartitionTable(databaseName);
    databasePartitionTables.put(databaseName, databasePartitionTable);
    return new TSStatus(TSStatusCode.SUCCESS_STATUS.getStatusCode());
  }
Thread-safely create new DatabasePartitionTable.

@param plan DatabaseSchemaPlan
@return {@link TSStatusCode#SUCCESS_STATUS} if the new DatabasePartitionTable is created
    successfully.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/partition/PartitionInfo.java