mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
70ef2786711a8386b7eb4cd13f9226326ccebdfb
With the degraded-peer probe loop on, the per-peer adapter registry primed each new peer's engine at the add, and the engine's assignment probe and fence ran on the replica with sessions of their own while the volume's seed barrier and live ship owned it. The replica keeps the newest session, so it refused the volume's own barrier as stale and the next write missed quorum. The registry now records the identity at the add and primes the adapter only on the probe loop's first dispatch for the peer, which comes only once the peer is degraded (its live session failed and was invalidated); that first dispatch is the adapter's own probe, not a second one. With the race gone, --degraded-probe-interval defaults to 5s, so a replica that fell out of the volume rejoins without an operator. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.6%
Rust
7.8%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%