Commit c3369604 authored by rafal@quant.(none)'s avatar rafal@quant.(none)

BUG#21132 (Slave fails to reconnect on update_slave_list):

The update_slave_list() call is a remainder from attempts to implement failsafe 
replication. This code is now obsolete and not maintained (see comments in 
rpl_failsafe.cc). 

Inspecting the code one can see that this function do not interferre with normal 
slave operation and thus can be safely removed. This will solve the issue 
reported in the bug (errors on slave reconnection). 

A related issue is to remove unneccessary reconnections done by slave. This is 
handled in the patch for BUG#20435.
parent cfdec2ca
...@@ -3526,7 +3526,7 @@ connected: ...@@ -3526,7 +3526,7 @@ connected:
on with life. on with life.
*/ */
thd->proc_info = "Registering slave on master"; thd->proc_info = "Registering slave on master";
if (register_slave_on_master(mysql) || update_slave_list(mysql, mi)) if (register_slave_on_master(mysql))
goto err; goto err;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment