depth and master_id fields added
depth and master_id fields added
This commit is contained in:
@ -70,6 +70,8 @@ typedef struct server {
|
|||||||
long node_id; /**< Node id, server_id for M/S or local_index for Galera */
|
long node_id; /**< Node id, server_id for M/S or local_index for Galera */
|
||||||
int rlag; /**< Replication Lag for Master / Slave replication */
|
int rlag; /**< Replication Lag for Master / Slave replication */
|
||||||
unsigned long node_ts; /**< Last timestamp set from M/S monitor module */
|
unsigned long node_ts; /**< Last timestamp set from M/S monitor module */
|
||||||
|
int depth; /**< Replication level in the tree */
|
||||||
|
int master_id; /**< Master server id of this node +/
|
||||||
} SERVER;
|
} SERVER;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user