@Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    RegionGroupStatistics that = (RegionGroupStatistics) o;
    return regionGroupStatus == that.regionGroupStatus
        && regionStatisticsMap.equals(that.regionStatisticsMap);
  }
Check if the current statistics is newer than the given one.

@param o The other RegionGroupStatistics.
@return True if one of the RegionStatistics in the current RegionGroupStatistics is newer than
    the corresponding one in the other RegionGroupStatistics, or the current
    RegionGroupStatistics contains newer Region's statistics, False otherwise.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/cache/region/RegionGroupStatistics.java