raft_begin_pre_vote: compute prospective term (term+1) locally without persisting, arm the pre_vote_* tally with a self-grant, NULL-safely probe each non-self peer, return RAFT_PRE_VOTE_WON for single-node else RAFT_OK. Stays FOLLOWER, schedules no timeout, mutates no persistent state. 6 RED-first tests. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| settings | ||
| specs | ||
| steering | ||