Below is the list of changes that have just been committed into a local
5.0 repository of rafal. When rafal does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2006-12-15 11:32:41+01:00, rafal@quant.(none) +1 -0
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.
sql/slave.cc@stripped, 2006-12-15 11:32:37+01:00, rafal@quant.(none) +1 -1
Removed call to obsolete function update_slave_list() upon slave's I/O thread
reconnect.
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: rafal
# Host: quant.(none)
# Root: /ext/mysql/bk/mysql-5.0-bug21132
--- 1.286/sql/slave.cc 2006-12-15 11:32:47 +01:00
+++ 1.287/sql/slave.cc 2006-12-15 11:32:47 +01:00
@@ -3526,7 +3526,7 @@
on with life.
*/
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;
}
| Thread |
|---|
| • bk commit into 5.0 tree (rafal:1.2349) BUG#21132 | rsomla | 15 Dec |