summaryrefslogtreecommitdiff
path: root/sql/rpl_mi.h
diff options
context:
space:
mode:
authorSachin Setiya <sachinsetia1001@gmail.com>2018-04-19 14:31:20 +0530
committerSachin Setiya <sachinsetia1001@gmail.com>2018-04-19 16:04:23 +0530
commit419385dbf10453b17a370fd9e5bd934d09e0b440 (patch)
treed2a82919e9c8f680697d16b37157cd434cb0eb25 /sql/rpl_mi.h
parent547b00d910b8d5e1526c00aeac9425b182cbea5e (diff)
downloadmariadb-git-419385dbf10453b17a370fd9e5bd934d09e0b440.tar.gz
Mdev-10664 Add statuses about optimistic parallel replication stalls
In this commit we are adding three more status variable to SHOW SLAVE STATUS. Slave_DDL_Events and Slave_Non_Transactional_Events. Slave_DDL_Groups:- This status variable counts the occurrence of DDL statements Slave_Non_Transactional_Groups:- This variable count the occurrence of non-transnational event group. Slave_Transactional_Groups:- This variable count the occurrence of transnational event group. Patch Credit:- Kristian Nielsen
Diffstat (limited to 'sql/rpl_mi.h')
-rw-r--r--sql/rpl_mi.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/rpl_mi.h b/sql/rpl_mi.h
index 260c35e8c04..54d6b5be592 100644
--- a/sql/rpl_mi.h
+++ b/sql/rpl_mi.h
@@ -327,6 +327,16 @@ class Master_info : public Slave_reporting_capability
uint users; /* Active user for object */
uint killed;
+
+ /* No of DDL event group */
+ volatile uint64 total_ddl_groups;
+
+ /* No of non-transactional event group*/
+ volatile uint64 total_non_trans_groups;
+
+ /* No of transactional event group*/
+ volatile uint64 total_trans_groups;
+
/* domain-id based filter */
Domain_id_filter domain_id_filter;