@Override
  public boolean equals(final Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    final GetDataNodeConfigurationPlan that = (GetDataNodeConfigurationPlan) o;
    return dataNodeId == that.dataNodeId;
  }
Get DataNodeInfo by the specific DataNode's id. And return all when dataNodeID is set to -1.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/read/datanode/GetDataNodeConfigurationPlan.java