feat(election-iomgr-refactor): restructure myapp_run to fully non-blocking async startup — task 5.1
This commit is contained in:
parent
757558bb33
commit
2e5681387a
4 changed files with 256 additions and 134 deletions
|
|
@ -82,7 +82,7 @@
|
|||
- _Boundary: ha.c (election evaluation)_
|
||||
- _Depends: 2.4, 3.1_
|
||||
|
||||
- [ ] 4.2 Implement config and WAL replication push to standbys
|
||||
- [x] 4.2 Implement config and WAL replication push to standbys
|
||||
- In `ha_elect_evaluate_and_signal` COMMITTING path: call `push_config_to_standbys(c, ...)` to push config to standbys with lower `config_tag`
|
||||
- Implement `ha_send_ctrlhello_to_all_standbys(c)`: iterate `ha->standby_endpoints`, send `CtrlHelloRequest` to each via `xce_request` — triggers existing catch-up replication in `handle_ctrlhello`
|
||||
- Observable: 3-node startup log shows primary pushing config to ctrl-b/c immediately after COMMITTING; ctrl-b/c logs show config received
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue