polardbxengine/mysql-test/suite/ndb/t/ndb_fully_replicated_restar...

41 lines
1.2 KiB
Plaintext

-- source include/have_ndb.inc
-- source include/have_ndb_debug.inc
# Ignore the warning generated by ndbcluster's binlog thread
# when cluster is restarted
--disable_query_log ONCE
call mtr.add_suppression("cluster disconnect An incident event has been written");
# Ignore the warning generated by ndbcluster's binlog thread
# when cluster is restarted - also on the second mysqld
connect(mysqld2,127.0.0.1,root,,test,$MASTER_MYPORT1);
connection mysqld2;
--disable_query_log ONCE
call mtr.add_suppression("cluster disconnect An incident event has been written");
connection default;
--echo Test that fully-replicated tables are still functioning
--echo correctly after various restart types.
--echo Checks read-locality, and copy-fragment maintenance
# TODO :
# - Uncomment disabled unique-indexes testcases
# SR commented out to reduce test runtime, covered to an
# extent by SRTO below
#
#--let $restart_type=SR
#--source ndb_fully_replicated_restart2.inc
--let $restart_type=NR
--source ndb_fully_replicated_restart2.inc
# System restart, with one node requiring takeover
# due to insufficient Redo.
#
--let $restart_type=SRTO
--source ndb_fully_replicated_restart2.inc
--remove_file $NDB_TOOLS_OUTPUT