mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
fc10f148ffdd14f3cb5d9f888273e0060365da17
blockvolume reports a random incarnation, new on every process start, in each heartbeat slot (proto field 12, regenerated with the checked-in generator versions). It flows through the wire, observation and snapshot layers to ReplicaCandidate.Incarnation as a raw fact. The controller config gains PrimaryBootGrace and the flap bounds, unused here. The new controller tests pin the #128 boot-grace contract and fail against today's rule (a not-ready current primary with a ready peer fails over at once): restart -> endpoint refresh; no ask inside the grace; ready ends the grace; a flapper gets none. The explicit-unhealthy and no-incarnation cases pass on both sides as controls. 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%