Current Path : /home/usr.opt/mysql57/mysql-test/suite/rpl/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/rpl/r/rpl_server_id_ignore.result |
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] master_id: 1 stop slave; *** --replicate-same-server-id and change master option can clash *** change master to IGNORE_SERVER_IDS= (2, 1); ERROR HY000: The requested server id 2 clashes with the slave startup option --replicate-same-server-id *** must be empty due to the error *** ignore server id list: change master to IGNORE_SERVER_IDS= (10, 100); *** must be 10, 100 *** ignore server id list: 10, 100 reset slave; *** must be still (10,100) after reset slave *** ignore server id list: 10, 100 change master to IGNORE_SERVER_IDS= (10, 100); *** CHANGE MASTER with IGNORE_SERVER_IDS option overrides (does not increment) the previous setup *** change master to IGNORE_SERVER_IDS= (5, 1, 4, 3, 1); *** must be 1, 3, 4, 5 due to overriding policy *** ignore server id list: 1, 3, 4, 5 *** ignore master (server 1) queries for a while *** include/start_slave.inc include/sync_slave_sql_with_master.inc create table t1 (n int); include/wait_for_slave_param.inc [Exec_Master_Log_Pos] *** must be empty as the event is to be filtered out *** show tables; Tables_in_test *** allowing events from master *** stop slave; include/wait_for_slave_to_stop.inc reset slave; change master to IGNORE_SERVER_IDS= (10, 100); *** the list must remain (10, 100) after reset slave *** change master to IGNORE_SERVER_IDS= (); *** must be empty due to IGNORE_SERVER_IDS empty list *** ignore server id list: *** RESET SLAVE ALL should empty the list *** CHANGE MASTER TO IGNORE_SERVER_IDS= (10, 100); ignore server id list: 10, 100 RESET SLAVE ALL; change master to master_host='127.0.0.1', master_port=MASTER_PORT, master_user='root'; 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. include/start_slave.inc include/assert.inc [RESET SLAVE ALL must empty the list of server-ids.] include/sync_slave_sql_with_master.inc *** must have caught create table *** show tables; Tables_in_test t1 drop table t1; include/sync_slave_sql_with_master.inc # === Bug#18192817 IGNORE_SERVER_IDS IS SHOWING DUPLICATE SERVER IDS === include/stop_slave.inc The list should have 0 elements. Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. Replicate_Ignore_Server_Ids = '' Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. CHANGE MASTER TO IGNORE_SERVER_IDS= (110,220,330,420); The list should have 4 elements. Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. Replicate_Ignore_Server_Ids = '110, 220, 330, 420' Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. CHANGE MASTER TO IGNORE_SERVER_IDS= (110,220,330,420), IGNORE_SERVER_IDS= (110,220,330,420); The list should still have only 4 elements. Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. Replicate_Ignore_Server_Ids = '110, 220, 330, 420' Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. ISSUE WAS HERE: All server ids should be stored and showed only once, while they are set twice or even more. The list should have 5 elements. CHANGE MASTER TO IGNORE_SERVER_IDS= (110,220,330,420), IGNORE_SERVER_IDS= (111,220,330,420); Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. Replicate_Ignore_Server_Ids = '110, 111, 220, 330, 420' Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. CHANGE MASTER TO IGNORE_SERVER_IDS= (110,220,330,420), IGNORE_SERVER_IDS= (111,221,330,420); The list should have 6 elements. Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. Replicate_Ignore_Server_Ids = '110, 111, 220, 221, 330, 420' Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. CHANGE MASTER TO IGNORE_SERVER_IDS= (110,220,330,420), IGNORE_SERVER_IDS= (111,221,331,420); The list should have 7 elements. Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. Replicate_Ignore_Server_Ids = '110, 111, 220, 221, 330, 331, 420' Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. CHANGE MASTER TO IGNORE_SERVER_IDS= (110,220,330,420), IGNORE_SERVER_IDS= (111,221,331,421); The list should have 8 elements. Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. Replicate_Ignore_Server_Ids = '110, 111, 220, 221, 330, 331, 420, 421' Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. CHANGE MASTER TO IGNORE_SERVER_IDS= (); The list should have NO elements. Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. Replicate_Ignore_Server_Ids = '' Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. # === Bug #18593479: ON MASTER_INFO_REPOSITORY CHANGE, === # === IGNORE_SERVER_IDS DOUBLES WITH DUP VALUES === SET GLOBAL master_info_repository= 'FILE'; CHANGE MASTER TO IGNORE_SERVER_IDS= (5,10,15); include/start_slave.inc Expect 3 elements. Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. Replicate_Ignore_Server_Ids = '5, 10, 15' Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. include/stop_slave.inc SET GLOBAL master_info_repository= 'TABLE'; include/start_slave.inc ISSUE WAS HERE: Due to buggy behaviour, we woule see 6 elements here. Expect 3 elements ONLY to verify the fix when changing from FILE->TABLE. Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. Replicate_Ignore_Server_Ids = '5, 10, 15' Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. include/stop_slave.inc SET GLOBAL master_info_repository= 'FILE'; include/start_slave.inc ISSUE WAS HERE TOO: Due to buggy behaviour, we woule see 12 elements here. Expect 3 elements ONLY to verify the fix when changinf from TABLE->FILE. Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. Replicate_Ignore_Server_Ids = '5, 10, 15' Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. include/stop_slave.inc CHANGE MASTER TO IGNORE_SERVER_IDS= (); include/start_slave.inc include/rpl_end.inc