| 1 |
# ==== Purpose ==== |
| 2 |
# |
| 3 |
# Verify that we permit replication operations with super_read_only=ON. |
| 4 |
# |
| 5 |
# ==== Implementation ==== |
| 6 |
# |
| 7 |
# 1) SET AUTOCOMMIT=ON |
| 8 |
# 2) Verify that we permit replication operations with super_read_only=ON |
| 9 |
# by executing rpl_ignore_super_read_only.test |
| 10 |
# 3) SET AUTOCOMMIT=OFF |
| 11 |
# 2) Verify that we permit replication operations with super_read_only=ON |
| 12 |
# by executing rpl_ignore_super_read_only.test |
| 13 |
# |
| 14 |
# ==== References ==== |
| 15 |
# |
| 16 |
# Bug#22097534: SUPER_READ_ONLY ABORTS STOP SLAVE IF |
| 17 |
# RELAY_LOG_INFO_REPOSITORY=TABLE, DBG CRASH |
| 18 |
# Bug#22857926: ASSERTION `! IS_SET()' AT SQL_ERROR.CC:38 IN READ_ONLY MODE FOR |
| 19 |
# MANY RPL CMDS. |
| 20 |
# Bug#26414532: MYSQLRPLSYNC ERRORS OUT BECAUSE SLAVE IS USING --SUPER-READ-ONLY |
| 21 |
# OPTION |
| 22 |
# Bug#27675107: SUPER_READ_ONLY WITH MASTER_INFO_REPOSITORY=TABLE BREAKS |
| 23 |
# REPLICATION ON RESTART |
| 24 |
|
| 25 |
# Test in this file only makes sense in standard replication, |
| 26 |
# so it is skipped in group replication. |
| 27 |
--source include/not_group_replication_plugin.inc |
| 28 |
# Test in this file is binlog format agnostic, thus no need |
| 29 |
# to rerun it for every format. |
| 30 |
--source include/have_binlog_format_row.inc |
| 31 |
# Test requires master-info-repository=TABLE, relay-log-info-repository=TABLE |
| 32 |
--source include/have_slave_repository_type_table.inc |
| 33 |
--source include/not_rpl_gtid_only.inc |
| 34 |
--source include/master-slave.inc |
| 35 |
|
| 36 |
--let $autocommit_opt= ON |
| 37 |
--source extra/rpl_tests/rpl_ignore_super_read_only.test |
| 38 |
|
| 39 |
--let $autocommit_opt= OFF |
| 40 |
--source extra/rpl_tests/rpl_ignore_super_read_only.test |
| 41 |
|
| 42 |
--source include/rpl_end.inc |