mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
Register snapshot incarnation trace in invariant ledger
This commit is contained in:
1 parent
69cd920b13
commit
ee3c3e493d
1 file changed
+6
-6
@@ -1258,6 +1258,12 @@ Notes:
|
||||
|
||||
- B.10 rows are enforced in a library with no production caller; they say nothing about a running volume until a caller is added and its own rows name these.
|
||||
|
||||
### Snapshot incarnation format integration
|
||||
|
||||
| ID | Statement | Transition | Enforced in | Guard | Model | Status |
|
||||
|---|---|---|---|---|---|---|
|
||||
| `INV-SNAPSHOT-INCARNATION-001` | A snapshot identity is its name and immutable publishing HEAD generation within the volume ID. A resumed delete removes only its admitted incarnation; a recreated name is preserved. Zero requires legacy stamping. | M9 snapshot publication and target-qualified removal | `layout/head.go`, `layout/snapshot_generation.go`; producer integration pending | `TestSnapshotPublishingGenerationGolden`, `TestLegacySnapshotStampKeepsOneIdentityAcrossRetry`, `TestSnapshotDeleteTargetSparesAnUnchangedImageRecreation`, `TestSnapshotDeleteCASConflictKeepsCapturedIncarnation` | SnapDelete rows 241-245 | STUB |
|
||||
|
||||
## Part C. Change rules
|
||||
|
||||
How a fix or a feature is calibrated against this model:
|
||||
@@ -1395,9 +1401,3 @@ same-process retries; a repeated or earlier frontier is not progress. Late
|
||||
progress cannot clear an already elapsed inactivity window. The existing
|
||||
same-epoch promotion-ready fact alone clears the timeout latch. C.L's start
|
||||
rows remain STUB until recovery and attach controls are qualified together.
|
||||
|
||||
### Snapshot incarnation format integration
|
||||
|
||||
| ID | Statement | Transition | Enforced in | Guard | Model | Status |
|
||||
|---|---|---|---|---|---|---|
|
||||
| `INV-SNAPSHOT-INCARNATION-001` | A snapshot identity is its name and immutable publishing HEAD generation within the volume ID. A resumed delete removes only its admitted incarnation; a recreated name is preserved. Zero requires legacy stamping. | M9 snapshot publication and target-qualified removal | `layout/head.go`, `layout/snapshot_generation.go`; producer integration pending | `TestSnapshotPublishingGenerationGolden`, `TestLegacySnapshotStampKeepsOneIdentityAcrossRetry`, `TestSnapshotDeleteTargetSparesAnUnchangedImageRecreation`, `TestSnapshotDeleteCASConflictKeepsCapturedIncarnation` | SnapDelete rows 241-245 | STUB until production stamping and receipt integration |
|
||||
Reference in new issue
Block a user