An interrupted Scrum import could only be continued by the offline
recovery command, with every writer stopped, because nothing told a
crashed import from a paused one. The import's checkpoint now names its
writer and carries a lease the writer renews at each step. Once the
lease runs out, a board administrator can finish the import from the
Scrum view: the recovery takes the checkpoint over by compare-and-set
and replays the saved steps. A writer that was only paused is fenced out
at its next checkpoint update, and the steps are idempotent. An import
whose plan was never fully saved can be discarded, which writes nothing
to the board. Its contents cannot be rebuilt, because the source file is
not kept. Rollback stays offline. Checkpoints from before this change
are taken over at once, since their writer did not survive a restart.
Thanks to xet7 !
Normal imports enter the recoverable cleaning phase before deleting private plan rows. Propagate cleanup failures and keep the destination guarded until deletion is acknowledged, so offline recovery can finish partial cleanup.
Three Node suites and two Chromium native-import/board-copy scenarios pass. MongoDB tests inject interruptions at every cleanup boundary and resume through the maintenance implementation.
Thanks to xet7 !
Stage private per-document recovery steps before destination writes and retain board-level pending state through marker cleanup. Preserve stable IDs and exact before/after values for interrupted writes. Public coordinated replay and rollback remain unfinished.