private void setDeletedIfPartial(ProcedureStoreTracker tracker, long procId) {
    if (tracker.isPartial()) {
      tracker.setDeleted(procId, true);
    }
  }
If tracker for a log file is partial (see {@link ProcedureStoreTracker#partial}), we re-build
the list of procedures modified in that WAL because we need it for log cleaning purposes. If
all procedures modified in a WAL are found to be obsolete, it can be safely deleted. (see
{@link WALProcedureStore#removeInactiveLogs()}).
<p/>
Notice that, the deleted part for this tracker will not be global valid as we can only count
the deletes in the current file, but it is not big problem as finally, the above tracker will
have the global state of deleted, and it will also be used to build the cleanup tracker.
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/wal/ProcedureWALFormatReader.java