mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 11:07:31 +01:00
9859a0c1c57032f5b0f65cf65946e81bbf74c251
Review fold (P1): the refused epoch and reason were separate atomics, so an allowed RF1@2 replay could pass the stale check, a stream RF2@3 latch the refusal, and the replay then clear that newer refusal. The epoch, reason and the highest admitted RF1 epoch are now one unit under rf1Mu (field access only). admitRF1 clears and adopts only if no newer refusal was latched; otherwise the fact is not adopted. P2: a refusal below an admitted RF1 epoch is stale and does not re-latch. Deterministic test with a hook between the stale check and the admit; stale RF2 test. 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%