Skip to content

golive back: a W1 stuck on verify blocks W2/W3 #440

Closed

Description

@scuttletoby

Follow-up from reading the last fix round of #397 (merged ad8d523) before merge. Minor, go-live.

A W1 whose old build will not run blocks every other way back. After a W1 got past its update (t3 update <old> exited 0) the rerun only re-verifies while the service state names that build (back.py _resume_w1). If the old build then never comes up (crash loop on the restored data, or the service was stopped after the update), every rerun of W1 fails the verify again, and t3-golive back --way w2|w3 is refused with "the last back (w1) stopped half-way: run t3-golive back --way w1 again" (run_back, plan way check). The only way out is settling the journal by hand. This was the same before #397's fix round (a whole-W1 rerun also failed), so it is not new.

Fix (small): when the stopped W1 got past its update and its verify keeps failing, let back --way w2|w3 follow it (W2/W3 do not restore, so they cannot overwrite work), or at least name that way in the refusal and in status's rerun hint. Test: W1 updated, verify fails twice, then W2 runs and ends ok; the journal settles.

State question: rerun after each step; a journal from before #397 (no resume step); W2 itself stopped half-way after following a stuck W1.

Also check when #422 (switch) lands: the switch's own automatic W1 takes the same path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions