feat(ha-config-bootstrap): extract cluster_open_listener, reorder startup before election (task 3.2)
This commit is contained in:
parent
0a881804a0
commit
6272fc8eb2
4 changed files with 94 additions and 28 deletions
|
|
@ -59,7 +59,7 @@ Dependency order: startup validation (D) unblocks vtaskmgr before election (A);
|
|||
- `make test` fails
|
||||
- _Requirements: 1.1, 1.2, 1.3, 1.4_
|
||||
|
||||
- [ ] 3.2 Extract cluster_open_listener() from cluster_init_phase2()
|
||||
- [x] 3.2 Extract cluster_open_listener() from cluster_init_phase2()
|
||||
- Move `bind()+listen()` + socket setup into new `cluster_open_listener(cluster_t *c)` in `cluster.c`
|
||||
- `cluster_init_phase2()` calls `cluster_open_listener()` for compatibility
|
||||
- `myapp.c` startup sequence calls `cluster_open_listener()` before election (after `cluster_init_phase1()`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue