vip: the confirmed reseed does not clear the VIP fence, so automatic failover works only once #166
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Keel-Linux/keel#166
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found on real nodes on 2026-10-15 (keel 0.23.21, etcd of 3 members in 3 sites, handbook decision 0057, evidence
docs/evidence/2026-10-15-br3-thin-etcd-witness.md).What happened
fenced: true. 9062 claimed epoch 10.keel spec apply --system-only --destroy-local-database). It streamed as the synchronous standby.keel database promote --old-primary-goneon 9054 (VIP at 1792062927.87).fail_over()returns whenheld.fenced.vipnode.take()keepsfencedfrom the earlier state when it records a newer claim. Nothing clears it except this node's own claim.keel vip statuson such a node says: "fenced: this node lost it while cut off or away, and takes it again only by keel vip promote here".The same happened to 9062 after it rejoined:
fenced= Truein its state, after the reseed.Expected
0049 says that an old primary must never claim again by itself. After the confirmed reseed, the node holds nothing the holder lacks, and it is the synchronous standby of the current claim. The reseed (or the first time that the node streams from the holder of the newest claim) clears the fence, so that the next failover is automatic again.
navigator referenced this issue2026-10-15 09:56:35 -03:00