polardbxengine/mysql-test/suite/ndb_rpl/r/ndb_rpl_gap_event.result

30 lines
1.2 KiB
Plaintext

include/master-slave.inc
Warnings:
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
[connection master]
create table t1(pk int not null primary key, i int) engine = ndb;
select count(*) from t1;
count(*)
1000
Restarting mysqld
# restart
include/rpl_reconnect.inc
include/show_binlog_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000002 # Incident # # #1 (LOST_EVENTS)
master-bin.000002 # Rotate # # master-bin.000003;pos=POS
drop table if exists t1;
Get IO thread to reconnect to Master
start slave;
include/wait_for_slave_sql_error.inc [errno=13119]
Last_SQL_Error = 'The incident LOST_EVENTS occurred on the master. Message: mysqld startup'
Slave_IO_Running = 'Yes'
Slave_SQL_Running = 'No'
Last_Errno = '13119'
Last_Error = 'The incident LOST_EVENTS occurred on the master. Message: mysqld startup'
drop table if exists t1;
include/stop_slave_io.inc
RESET SLAVE;
include/rpl_end.inc