Repository navigation
Closed
Description
Follow-ups from the two lenses on #288 (data: #288 (comment), state: #288 (comment)). Both SAFE; none of these blocks. All in fork-kit/golive/.
- minor, pre-existing (data lens minor 1).
coldcopy.py~:394: when a kept-walis gone and the home's-walbegins with a copy's header but is not the kept bytes (sums), restore calls the record stale and names a mixed DB+WAL (copy's rows + T3's) as "the old home". Refuse as "cannot be told" instead. The one false refusal (a moved-back old WAL that T3 later appended to) is the safe side. - minor, test gap (data minor 2 / state 2).
coldcopy.py~:299-314: the copy's-walmust still match its manifest SHA256 before its header counts. No test fails without it. Add one where the copy's-walchanged after the manifest and expect "cannot be told". - minor, test gap (data minor 3 / state 3).
coldcopy.py~:373-376: the copy-back check skips a kept-shm, and has akept andguard; neither is tested. Add a copied-back test that leaves the kept-shmout (README says it need not go back) and one whose record names only a-shm. - minor, test gap (state 1).
check.py~:224:server_changed's "an update is pending" branch has no test. Add anupdate.status: pendingcase totest_t3_stopping_during_the_report_refuses_its_answer. - nit (state 5).
check.py~:190-195: when the re-read after the report refuses, dropcountsfrom the--jsonresult so a laterrehearse/switchcaller cannot use them. - nit, wording (state 4). Copy-back advice ends "(the record is then stale)"; after the WAL is moved out the record stays live and the rerun's
movedAsideis the old home. Fix the words. - nit, wording (data nit). ~:450: the "the copy's (same SHA256)" group says "remove them"; say "move them out of userdata" like the other groups.
State question for the fix: each change must keep "every refusal's advice, when followed, leads to a rerun that finishes" (no loops), and must be checked against an old record, an empty or unreadable record and a restore stopped half-way.
Metadata
Metadata
Assignees
Labels
No labels
Activity
golive: restore and check follow-ups from #288's lenses (#300)
golive restore: tell a moved-back WAL by its kept bytes, count a chan…
golive: restore and check follow-ups from #288's lenses (#300) (#471)
golive: restore and check follow-ups from #288's lenses (#300) (#471)
golive: restore and check follow-ups from #288's lenses (#300) (#471)
golive: restore and check follow-ups from #288's lenses (#300) (#471)
golive: restore and check follow-ups from #288's lenses (#300) (#471)
golive: restore and check follow-ups from #288's lenses (#300) (#471)