@Override
    public boolean equals(Object obj) {
      if (obj == this) {
        return true;
      }
      if (obj == null) {
        return false;
      }
      if (!(obj instanceof TabletInfo)) {
        return false;
      }
      TabletInfo that = (TabletInfo) obj;
      if (this.tabletRangeList.size() != that.tabletRangeList.size()) {
        return false;
      }

      for (int i = 0; i < tabletRangeList.size(); i++) {
        if (!Arrays.equals(this.tabletRangeList.get(i), that.tabletRangeList.get(i))) {
          return false;
        }
      }
      return true;
    }
This entry class stores info for persistence.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/buffer/WALInfoEntry.java