public TConsensusGroupId getSuccessorDataPartition(
      String database,
      TSeriesPartitionSlot seriesPartitionSlot,
      TTimePartitionSlot timePartitionSlot) {
    return partitionInfo.getSuccessorDataPartition(
        database, seriesPartitionSlot, timePartitionSlot);
  }
Only leader use this interface. Checks whether the specified DataPartition has a successor and
returns if it does.

@param database DatabaseName
@param seriesPartitionSlot Corresponding SeriesPartitionSlot
@param timePartitionSlot Corresponding TimePartitionSlot
@return The specific DataPartition's successor if exists, null otherwise
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/partition/PartitionManager.java