Restore-holes run (2026-10-24 night): D43 = A recorded; 07/05/03/11 carry the R-1251, R-1252, R-1254 and D43 rules; register 207 -> 208 (R-1268 opened; R-1251/1252/1253/1257 VERIFY, R-1254 NARROWED); STATUS Monday list + D44/D45 picks; evidence (Tester 1, 9202)
gates / gates (push) Successful in 13m4s
gates / gates (push) Successful in 13m4s
This commit is contained in:
1 parent
dcf4f84cb7
commit
3add386aa9
60 files changed
+2082
-16
No files matched your search
@@ -778,6 +778,28 @@ than the unit), the app running, the record reads the D22 sentence. Known limit
|
||||
named volume the unit replaces (none in the catalog today — a drive-file app's unit restore is refused by R-538) is not
|
||||
covered by the volume copy.
|
||||
|
||||
**`[DESIGN]` 2026-10-24 — a pending put-back blocks EVERY start (R-1251; review round 2 HUNT-1 H1, H2, H7; committed in
|
||||
controller `bb2809d` + `062f9b4`, unreleased — rides the next controller release).** For a drive-backed app the copy lives on
|
||||
the app's drive, and at start the drive is often not bound yet. A copy that cannot be reached while its drive is not
|
||||
bound is **waiting, never „gone"**: the crash recovery writes a restore hold (`putback_pending`, the copy's folder
|
||||
in it) and starts nothing. The hold is the one store every start path already honours — the household's
|
||||
Start/Restart/Update, the boot recreate, the drive return, the media restart, the boot sweep, the night chain, the
|
||||
update leg — so no path has its own check. When the drive binds, the put-back runs FIRST (the boot recreate and the
|
||||
drive-return restart; the start and every drive return sweep the waiting holds), the hold is lifted, then the app
|
||||
starts. The household reads „…A visszaállítás előtti adatai egy meghajtón vannak, amely most nem érhető el…" on the
|
||||
app and „Ne indítsd újra a visszaállítást…" in the restore record. A put-back that FAILS (at start or when the drive
|
||||
returns), or a copy gone while its drive is bound, leaves the app **held** with the D20 hold („félúton megszakadt"),
|
||||
the copy kept, and the marker lets go of the app — never stopped-and-unheld (H2). Stop pressed during the restore still
|
||||
gets the put-back; only the start is skipped (H7). A removal clears a waiting put-back; a later restore that completes
|
||||
drops it (the household chose that data). The copy's folders are synced to disk BEFORE the marker names the copy.
|
||||
**`[FACT]` 2026-10-24 night, Tester 1 (VM 341; MeTube on the data drive, 1.5 GB in its volume;
|
||||
`audits/restore-holes-2026-10-24/P1-tester1/`):** a local restore cut by powering the VM off 2.1 s after „the restore
|
||||
copy is recorded", the data disk taken off, the box booted: held as waiting, Start and Update refused (409, the
|
||||
sentence); the disk plugged back: the agent re-mounted it, the boot recreate put the copy back BEFORE the start, the
|
||||
household's newest data („gen2") and its download on the drive were there, and a later controller restart poured
|
||||
nothing. Run 1 of the same proof found the journal left as `undo.json.tmp` (the rename lived only in the page cache) —
|
||||
the app was held for support, never started on the cut data; the folder sync above fixed it, run 2 passed.
|
||||
|
||||
**[DESIGN] 2026-08-22 — the failure ladder of a database restore: replay → rollback → hold.**
|
||||
Recorded here rather than only in a closed register row, because a decision that survives only inside
|
||||
a closed work item is a decision nobody will find.
|
||||
@@ -888,6 +910,8 @@ run makes it longer.
|
||||
|
||||
### 6.5 Kept data — what a removed app leaves on the drive (controller v0.274.0, `09` §3 decision 36)
|
||||
|
||||
*Second-drive copies that are KEPT (D25) and the rule that a rejected backup block never deletes one: §8.2a (R-1252, 2026-10-24).*
|
||||
|
||||
**What it is.** "Remove the app, keep my data" leaves the app's drive folder (`<drive>/appdata/<app>`, or the folder
|
||||
its definition binds through `${HDD_PATH}`) in place. A reinstall over it no longer runs silently into the old files
|
||||
(R-657): the install asks „A megőrzött adataimat használom" / "Use my kept data" (the database from the newest copy of
|
||||
@@ -1597,6 +1621,19 @@ or pattern. **Why:** the data-loss hunt of 2026-10-20 proved two nights that del
|
||||
(R-1175: one share group's reconcile removed the other groups' copies, and a dead drive's copy; R-1181: a missing or
|
||||
emptied folder took its copy within one night). Controller: `internal/backup/tier2_kept.go`.
|
||||
|
||||
**`[DESIGN]` 2026-10-24 — a rejected backup block never deletes a copy (R-1252; review round 2 HUNT-2 H1, H2, H9;
|
||||
committed in controller `518a135`, unreleased).** The night's reconcile (deleting dest dirs the legs no longer name)
|
||||
runs ONLY under a valid classification. An app whose block is rejected (one bad line rejects the whole block) or absent
|
||||
falls back to the legacy legs, and nothing is reconciled that night — every existing copy stays. A REJECTED block puts
|
||||
„Az alkalmazás mentési beállításai most nem olvashatók…" on the app's second-drive status and tells the operator once a
|
||||
day (the operator-only digest `backup_run_failures`, leg `tier2-settings-unreadable`). A kept copy (D25) is always in
|
||||
the keep set, also when its leg later leaves the declared set (H2); Remove with „remove backups" drops the kept-copy
|
||||
records of what it deleted (H9). **`[FACT]` 2026-10-24 night, 9202 (`audits/restore-holes-2026-10-24/P2-9202/`):**
|
||||
audiobookshelf with a household file in `media/audiobooks`; two control runs kept the copy; one bogus path in the
|
||||
block → „the backup block is REJECTED … every existing copy on the second drive is KEPT", the copy there, the status
|
||||
sentence set, the operator digest sent (9202 has no hub: logged as dropped); the review's run on 0.342.0 the same day
|
||||
deleted that copy (`review-round-2-2026-10-24/proofs/H2-bad-backup-block/`).
|
||||
|
||||
### 8.2b The second-drive copy runs in a memory-capped container that never outlives the copy [DESIGN + FACT, R-1214, 2026-10-22/23 nights; rides controller 0.340.0]
|
||||
|
||||
The copy (`rsync -a --delete`) runs in a container of the controller's own image, capped at 512 MB, so its page cache
|
||||
|
||||
Reference in new issue
Block a user