Bug #24674 | Adding DEFINER in binlog can cause replication to fail | ||
---|---|---|---|
Submitted: | 29 Nov 2006 0:32 | Modified: | 26 Jun 2007 19:00 |
Reporter: | Markus Popp | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S4 (Feature request) |
Version: | Master >= 5.0.20, Slave < 5.0.20 | OS: | Any (all) |
Assigned to: | Lars Thalmann | CPU Architecture: | Any |
[29 Nov 2006 0:32]
Markus Popp
[29 Nov 2006 0:56]
Valeriy Kravchuk
Thank you for a problem report. I agree with your suggested fix as a nice and useful feature request, but this is not a bug. Our manual (http://dev.mysql.com/doc/refman/5.0/en/replication-features.html) clearly states: "In general, replication compatibility at the SQL level requires that any features used be supported by both the master and the slave servers. If you use a feature on a master server that is available only as of a given version of MySQL, you cannot replicate to a slave that is older than that version."
[29 Nov 2006 1:22]
Markus Popp
My point of view is that Stored Routines are features of both versions that are involved in this replication setup. Since both versions are the same main version (5.0) and both are GA, I think that replication should be able to handle it.
[29 Nov 2006 1:34]
Valeriy Kravchuk
I still think it is a feature request, as we need to change the behaviour already implemented (even if not ablsolutely correctly). Surely we should avoid adding features that breaks replication with same major version 5.0. But this already happened. "Slaves should be newer or same version as master" is a well-known general rule...
[26 Jun 2007 19:00]
Lars Thalmann
This type of downward replication will be implemented later (probably 5.1), but not in 5.0.