mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 11:07:31 +01:00
ddae9d743fa210f787fd6cb9d20b6b9a0b81451f
As the model has it: a page found damaged at open is rebuilt and the pass rewound before Run; Rewind after Run has started is refused. A page found damaged while the process lives is rewritten from memory, with no cursor change. A rewind whose cursor cannot be written latches the pass: Rewind, Run and page writes are refused and Admit refuses until reopen. The page lock and the walker generation are removed: no rewind can meet a walk. The random interleaving test, reworked to this design, failed at seed 20 without the latch (a rewind failed at open, then the page was rewritten from memory as unknown under the old cursor); green with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.8%
Rust
7.6%
Shell
2.7%
templ
1.5%
Java
0.9%
Other
2.3%