Checks the journal against the shards. Observational unless repair is set.
Reports unfinished moves, live rows left on a shard the key moved off, and
tombstones the journal does not know. It also reports strandedCopies, live
destination rows of an aborted move that equal a row the move journaled, and
staleCutovers, tombstones whose move the journal ended as aborted. Both come
from a recovery executor that stalled past its lease, and both count against
clean. With repair: true it resumes unfinished moves, removes a ghost row
only when it equals the archived copy, removes a stranded copy under the same
proof, and restores the archived row of a stale cutover when nothing else owns
the key. The pass is recorded; purgeRetired waits for a clean one.
Checks the journal against the shards. Observational unless
repairis set.Reports unfinished moves, live rows left on a shard the key moved off, and tombstones the journal does not know. It also reports
strandedCopies, live destination rows of an aborted move that equal a row the move journaled, andstaleCutovers, tombstones whose move the journal ended as aborted. Both come from a recovery executor that stalled past its lease, and both count againstclean. Withrepair: trueit resumes unfinished moves, removes a ghost row only when it equals the archived copy, removes a stranded copy under the same proof, and restores the archived row of a stale cutover when nothing else owns the key. The pass is recorded; purgeRetired waits for a clean one.