mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
9828967392ff9ecf4e7c030bb1df9974bfbb9502
Move-back tests for the chunk provider. The existing local root of a workspace that moved A -> B -> A must not attach: no reads or writes, no cut, HEAD unchanged, a typed ErrChunkStaleLocalRoot (fenced) and status evidence that says to remove or quarantine the root, also when the attach is deferred until the assignment arrives. After the root is removed the fresh path serves B's image. Controls that pass today: a same-holder reattach at a newer epoch, an existing root with no HEAD, and a holder whose HEAD a newer epoch took over never cuts over it. ErrChunkStaleLocalRoot is declared so the tests build; nothing returns it. 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%