1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-16437: merge 5.7 P_S replication instrumentation and tables

Merge 'replication_applier_status' table.

This table captures SQL_THREAD status.
This commit is contained in:
Sujatha
2021-04-16 09:11:48 +05:30
parent 767648cc2b
commit 410832313e
8 changed files with 118 additions and 11 deletions

View File

@@ -0,0 +1,21 @@
include/master-slave.inc
[connection master]
include/assert.inc [On master, the table should return an empty set.]
connection slave;
# Verify that SELECT works and produces an output similar to
# the corresponding field in SHOW SLAVE STATUS(SSS) in all scenarios.
# Verify that output is same as SSS on a fresh slave.
include/assert.inc [SSS shows Slave_SQL_Running as "Yes". So, Service_State from this PS table should be "ON".]
include/assert.inc [COUNT_TRANSACTION_RETRIES should be equal to Slave_retried_transactions.]
# Verify that the fields show the correct values after STOP SLAVE.
include/stop_slave.inc
include/assert.inc [SSS shows Slave_SQL_Running as "No". So, Service_State from this PS table should be "OFF".]
include/assert.inc [COUNT_TRANSACTION_RETRIES should be equal to Slave_retried_transactions.]
include/start_slave.inc
include/rpl_end.inc