@Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }

    if (!(o instanceof ProcedureWALFile)) {
      return false;
    }

    return compareTo((ProcedureWALFile) o) == 0;
  }
Used to update in-progress log sizes. the FileStatus will report 0 otherwise.
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/wal/ProcedureWALFile.java