public void setDeleted(long procId, boolean isDeleted) {
    BitSetNode node = getOrCreateNode(procId);
    assert node.contains(procId) : "expected procId=" + procId + " in the node=" + node;
    node.updateState(procId, isDeleted);
    trackProcIds(procId);
  }
This method is used when restarting where we need to rebuild the ProcedureStoreTracker. The
{@link #delete(long)} method above assume that the {@link BitSetNode} exists, but when restart
this is not true, as we will read the wal files in reverse order so a delete may come first.
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/wal/ProcedureStoreTracker.java