mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
e5f0c4728e257828ce5b0bc91b46b6929ac428e1
Review of #130 r5 (one P2): the recovery re-probe triggered on the newer heartbeat's ReadyForPrimary bit alone. A newer engine-ready but ineligible, withdrawn or unreachable heartbeat, with the frontend now ready, led to a re-probe that returned the current primary ready, so the gate skipped its placeability check and preserved an excluded primary. The trigger is now the whole fresh verdict: the newer fact must be ready and placeable (reachable, eligible, not withdrawn). An excluded newer fact causes no re-probe, so the first verdict and the gate's fresh placeability/grace check decide, and the failover stands. Refs #128 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%