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:
21
mysql-test/suite/rpl/r/rpl_perfschema_applier_status.result
Normal file
21
mysql-test/suite/rpl/r/rpl_perfschema_applier_status.result
Normal 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
|
Reference in New Issue
Block a user