From: Nuno Carvalho Date: January 25 2012 6:53pm Subject: bzr push into mysql-trunk branch (nuno.carvalho:3788 to 3789) List-Archive: http://lists.mysql.com/commits/142535 Message-Id: <201201251853.q0PIrgf1025477@acsmt357.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 3789 Nuno Carvalho 2012-01-25 [merge] Merge from mysql-5.5 into mysql-trunk. Conflicts: mysql-test/suite/rpl/r/rpl_heartbeat_basic.result modified: mysql-test/suite/rpl/r/rpl_heartbeat_basic.result mysql-test/suite/rpl/t/rpl_heartbeat_basic.test 3788 Tor Didriksen 2012-01-25 [merge] merge 5.5 => trunk modified: mysql-test/r/func_str.result mysql-test/t/func_str.test strings/dtoa.c === modified file 'mysql-test/suite/rpl/r/rpl_heartbeat_basic.result' --- a/mysql-test/suite/rpl/r/rpl_heartbeat_basic.result 2011-11-19 08:08:03 +0000 +++ b/mysql-test/suite/rpl/r/rpl_heartbeat_basic.result 2012-01-25 18:17:41 +0000 @@ -329,6 +329,7 @@ include/rpl_change_topology.inc [new top Warnings: Note 1756 Sending passwords in plain text without SSL/TLS is extremely insecure. Note 1757 Storing MySQL user name or password information in the master.info repository is not secure and is therefore not recommended. Please see the MySQL Manual for more about this issue and possible alternatives. +CHANGE MASTER TO MASTER_HEARTBEAT_PERIOD=1; include/start_slave.inc CREATE TABLE t1 (a INT PRIMARY KEY, b VARCHAR(10)); INSERT INTO t1 VALUES(1, 'on master'); === modified file 'mysql-test/suite/rpl/t/rpl_heartbeat_basic.test' --- a/mysql-test/suite/rpl/t/rpl_heartbeat_basic.test 2011-08-19 13:04:28 +0000 +++ b/mysql-test/suite/rpl/t/rpl_heartbeat_basic.test 2012-01-25 18:17:41 +0000 @@ -489,6 +489,12 @@ let $status_var_comparsion= >; --connection master #--replace_result $SLAVE_MYPORT SLAVE_PORT $slave_binlog SLAVE_BINLOG #eval CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_PORT=$SLAVE_MYPORT, MASTER_USER='root', MASTER_CONNECT_RETRY=$connect_retry, MASTER_HEARTBEAT_PERIOD=1, MASTER_LOG_FILE='$slave_binlog'; + +# BUG#12403008 RPL_HEARTBEAT_BASIC FAILS SPORADICALLY ON PUSHBUILD +# MASTER_HEARTBEAT_PERIOD had the default value (slave_net_timeout/2) +# so wait on "Heartbeat event received on master", that only waits for +# 1 minute, sometimes timeout before heartbeat arrives. +CHANGE MASTER TO MASTER_HEARTBEAT_PERIOD=1; --source include/start_slave.inc # Insert data on master and on slave and make sure that it replicated for both directions No bundle (reason: useless for push emails).