@Override
  public synchronized int hashCode() {
    return Objects.hash(createTime, replicaSet, slotCountMap, totalTimeSlotCount);
  }
Check if the RegionGroup belongs to the specified DataNode.

@param dataNodeId The specified DataNodeId.
@return True if the RegionGroup belongs to the specified DataNode.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/partition/RegionGroup.java