public void preDeleteDatabase(
      final String database, final PreDeleteDatabasePlan.PreDeleteType preDeleteType) {
    final PreDeleteDatabasePlan preDeleteDatabasePlan =
        new PreDeleteDatabasePlan(database, preDeleteType);
    try {
      getConsensusManager().write(preDeleteDatabasePlan);
    } catch (final ConsensusException e) {
      LOGGER.warn(CONSENSUS_WRITE_ERROR, e);
    }
  }
GetNodePathsPartition.

@param physicalPlan GetNodesPathsPartitionReq
@return SchemaNodeManagementPartitionDataSet that contains only existing matched
    SchemaPartition and matched child paths aboveMTree
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/partition/PartitionManager.java