public void deleteDatabase(final DeleteDatabasePlan plan) {
    // Clean the databaseTable cache
    databasePartitionTables.remove(plan.getName());
  }
Thread-safely delete database.

@param plan DeleteDatabasePlan
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/partition/PartitionInfo.java