feat: add config replication fields to myconf_t, cluster_t, ha_state_t, persist_t; create byteorder.h
This commit is contained in:
parent
78adf3f843
commit
2c375cf476
5 changed files with 96 additions and 1 deletions
|
|
@ -120,6 +120,10 @@ typedef struct cluster_s {
|
|||
int running;
|
||||
persist_t persist; /* Persistence module — P0-F */
|
||||
ha_state_t ha; /* HA role management — P1-5 */
|
||||
_Atomic int restart_requested; /* set by OP_upgradeConfig handler */
|
||||
pthread_t heartbeat_listener_tid; /* pre-Phase-2 SSL listener thread */
|
||||
_Atomic int heartbeat_listener_running;
|
||||
_Atomic int lost_and_found_job_count; /* incremented during persist_recover() */
|
||||
} cluster_t;
|
||||
|
||||
#endif /* XCE_CLUSTER_DEF_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue