mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
cbd442612e8ade1255cc49ff11a65f6a2344584f
- layout: LocalRoot.ReportCleanStop is told, on each attempt of the claim's own check, whether the HEAD the claim is built on is a committed, idle detach (DetachedBy) carrying this root's claim id; the committing attempt's report is the last. Never judged on Start's first read. - durable: startLayoutRoot returns that clean stop; the provider carries it into ChunkLayerConfig.CleanStop. - storage: upgradeChunkRecordSeeded seeds only an unmarked store whose layout claim id is the proof's and whose synced position (the pages' valid-through) is the proof's; the attached HEAD at another position is logged and never seeded on. A whole local chunk steps Rebuilt all, Hash, Commit and takes HEAD's hash (a chunk HEAD does not name: the zero chunk's). The upgrade's order is unchanged. - invariants: INV-CHUNK-RECORD-SEED-001. - tests: the attach takes the proof from its config (TestV11AttachSeedsFromTheCleanStopInItsConfig); startLayoutRoot reports it (TestStartLayoutRootReportsTheCleanStop). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.5%
Rust
7.9%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%