| 1 |
-- source include/have_ndb.inc |
| 2 |
-- source include/have_ndb_debug.inc |
| 3 |
|
| 4 |
# Ignore the warning generated by ndbcluster's binlog thread |
| 5 |
# when cluster is restarted |
| 6 |
--disable_query_log ONCE |
| 7 |
call mtr.add_suppression("cluster disconnect An incident event has been written"); |
| 8 |
|
| 9 |
# Ignore the warning generated by ndbcluster's binlog thread |
| 10 |
# when cluster is restarted - also on the second mysqld |
| 11 |
connect(mysqld2,127.0.0.1,root,,test,$MASTER_MYPORT1); |
| 12 |
connection mysqld2; |
| 13 |
--disable_query_log ONCE |
| 14 |
call mtr.add_suppression("cluster disconnect An incident event has been written"); |
| 15 |
|
| 16 |
connection default; |
| 17 |
|
| 18 |
--echo Test that fully-replicated tables are still functioning |
| 19 |
--echo correctly after various restart types. |
| 20 |
--echo Checks read-locality, and copy-fragment maintenance |
| 21 |
# TODO : |
| 22 |
# - Uncomment disabled unique-indexes testcases |
| 23 |
|
| 24 |
# SR commented out to reduce test runtime, covered to an |
| 25 |
# extent by SRTO below |
| 26 |
# |
| 27 |
|
| 28 |
#--let $restart_type=SR |
| 29 |
#--source ndb_fully_replicated_restart2.inc |
| 30 |
|
| 31 |
--let $restart_type=NR |
| 32 |
--source ndb_fully_replicated_restart2.inc |
| 33 |
|
| 34 |
# System restart, with one node requiring takeover |
| 35 |
# due to insufficient Redo. |
| 36 |
# |
| 37 |
--let $restart_type=SRTO |
| 38 |
--source ndb_fully_replicated_restart2.inc |
| 39 |
|
| 40 |
--remove_file $NDB_TOOLS_OUTPUT |