mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Add Master_gtid_wait_{count,time,timeouts} status
MASTER_GTID_WAIT function needs some status to evaluate its use. master_gtid_wait_count indicates how many times the function is called. master_gtid_wait_time indicates how much time in microseconds occurred waiting (or timing out) master_gtid_timeouts indicates how many time times this function timed out rather than all successful gtids events being available.
This commit is contained in:
@ -726,6 +726,11 @@ typedef struct system_status_var
|
||||
ulong feature_trigger; /* +1 opening a table with triggers */
|
||||
ulong feature_xml; /* +1 when XPATH is used */
|
||||
|
||||
/* From MASTER_GTID_WAIT usage */
|
||||
ulonglong master_gtid_wait_timeouts; /* # of timeouts */
|
||||
ulonglong master_gtid_wait_time; /* Time in microseconds */
|
||||
ulonglong master_gtid_wait_count;
|
||||
|
||||
ulong empty_queries;
|
||||
ulong access_denied_errors;
|
||||
ulong lost_connections;
|
||||
|
Reference in New Issue
Block a user