feat(raft-library): task 6.2 — real raft callbacks in ha.c; fix double-free + dead stubs
This commit is contained in:
parent
b77525deb0
commit
8f0d2d55c3
3 changed files with 552 additions and 82 deletions
|
|
@ -147,7 +147,7 @@
|
|||
- _Requirements: 9.1, 9.2_
|
||||
- _Boundary: ha.h, ha.c adapter init_
|
||||
|
||||
- [ ] 6.2 Implement all raft_callbacks_t callbacks in ha.c
|
||||
- [x] 6.2 Implement all raft_callbacks_t callbacks in ha.c
|
||||
- `on_send_vote_request`: encode capnp `VoteRequest` and send via existing `endpoint_t`/iomgr path
|
||||
- `on_become_leader`: invoke existing ha leadership promotion path (phase2 trigger)
|
||||
- `on_become_follower`: invoke existing ha standby transition path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue