feat(ha-prevote): add preVote request/reply wire opcodes (task 1.1)
Append preVoteRequest @38 / preVoteReply @39 to the OPCode enum, reusing the existing RequestVoteRequest/RequestVoteReply payload structs and union arms (no new structs, no isPreVote flag). Keeps the real-vote wire path unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
646aa69aa8
commit
0d660264f5
2 changed files with 94 additions and 0 deletions
|
|
@ -46,6 +46,8 @@ enum OPCode {
|
|||
upgradeConfigAck @35;
|
||||
snapshotTransfer @36;
|
||||
walCatchupEntry @37;
|
||||
preVoteRequest @38;
|
||||
preVoteReply @39;
|
||||
}
|
||||
|
||||
struct PeerInfo $C.mapname("xce_peerinfo_t") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue