mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 11:07:31 +01:00
7c30c149505e8da14c9d9e96608402cd9d53321e
Controls for the review of #130 r2 (tests only, on b5a23c2):
- unsupported path, full product tick: a READY tick (probe says the
current primary is ready) must still record the fact, so unready again
in the same incarnation fails over; and ready restarts count toward
flap history, so a third start gets no grace;
- controller: a delayed UNREADY fact of the previous incarnation, and an
equal-time fact with a changed incarnation, must not defeat the
restarted primary's grace;
- cap: an omitted freshness window is the effective 10s default and caps
an explicit 5m grace; a nonpositive grace takes the window.
The unsupported tests now use a switchable promotion probe.
Refs #128
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%