forked from lei.chen/myxce
feat(ha-config-bootstrap): implement committed_config_tag and config quorum commit (task 8.1)
This commit is contained in:
parent
684d3b6608
commit
c0cfc1cf83
3 changed files with 20 additions and 3 deletions
|
|
@ -156,6 +156,7 @@ typedef struct {
|
|||
_Atomic uint64_t last_known_committed_lsn; /* Req 5: from primary heartbeats */
|
||||
sem_t heartbeat_seen; /* Req 1: posted by heartbeat handler during CTRL_INIT */
|
||||
uint64_t last_known_committed_config_tag; /* Req 8: from primary heartbeats */
|
||||
_Atomic uint64_t committed_config_tag; /* Req 8.1: set on quorum ACK */
|
||||
} ha_state_t;
|
||||
|
||||
/* ── Public API ────────────────────────────────────────────── */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue