myxce/src
Rongsong Shen 88a8bf8a47
fix(controller,lib): decide each PreVote round once and promote only with this election's votes (bug-1915)
A late PreVote grant after WON re-ran the WON path and started a second
real election that replaced elect_ctx, so the term-2 leader promoted no
vote endpoints. Rounds now carry an id and endpoints a round/kind; stale
or wrong-kind replies, timeouts and errors are dropped; raft ignores
replies with no round in progress. raft_cb_become_leader promotes only
with its own stamped election record (own term, majority), else steps
down and re-arms. raft_on_leader_lost keeps voted_for (one vote per
term) and the delayed election starts only as a follower in the lost
term. The failover stagger hands the PreVote start to a vtask so the
delaymgr stays trigger-only.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-04 09:14:38 +00:00
..
autoscaler remove extralib 2026-09-04 11:24:43 +08:00
configs feat(xceadmin): validate percent-based limit values are in [0.0, 1.0] (bug-1833) 2026-09-20 10:50:21 +00:00
controller fix(controller,lib): decide each PreVote round once and promote only with this election's votes (bug-1915) 2026-10-04 09:14:38 +00:00
docs fix(frontend): peek and restart take <array-id>[k] and written job IDs 2026-10-02 09:42:27 +00:00
frontend fix(frontend): peek and restart take <array-id>[k] and written job IDs 2026-10-02 09:42:27 +00:00
harness feat(controller-peers-env-fallback): default the harness masters setting from XCE_CONTROLLER_PEERS (task 3.3) 2026-10-03 07:22:28 +00:00
include fix(lib): detach the received packet before handing it to a vtask (bug-1916) 2026-10-03 23:18:22 +00:00
lib fix(controller,lib): decide each PreVote round once and promote only with this election's votes (bug-1915) 2026-10-04 09:14:38 +00:00
nixSupport remove extralib 2026-09-04 11:24:43 +08:00
scheduler feat(controller-peers-env-fallback): fall back to XCE_CONTROLLER_PEERS in the scheduler (task 3.1) 2026-10-03 06:46:34 +00:00
schema feat(controller): compute the LSF CPU peak and efficiency fields (bug-1736) 2026-10-02 04:14:35 +00:00
tools fix: close controller-peers-env-fallback validation gaps (bug-1909..1912) 2026-10-03 13:06:58 +00:00
worker fix: close controller-peers-env-fallback validation gaps (bug-1909..1912) 2026-10-03 13:06:58 +00:00
xceadmin fix(xceadmin tests): root-cause the three flaky tests (bug-1683, bug-1485, bug-1725) 2026-10-03 14:49:46 +00:00
flake.lock remove extralib 2026-09-04 11:24:43 +08:00
flake.nix remove extralib 2026-09-04 11:24:43 +08:00
meson.build feat(xce-harness-component): relocate xce_test into standalone harness component 2026-09-14 05:08:15 +00:00
meson.options feat(dirty-content-fingerprint): add dirty_fingerprint meson option and C define 2026-08-21 03:54:37 +00:00