Clarification of replication master-slave compatibility between versions.

This commit is contained in:
unknown 2002-07-18 16:06:36 +10:00
commit a3472583ea

View file

@ -23554,12 +23554,23 @@ logging on the master. If you start your slaves with data that doesn't
agree with what was on the master @strong{when the binary log was agree with what was on the master @strong{when the binary log was
started}, your slaves may fail. started}, your slaves may fail.
Starting in 4.0.0, one can use @code{LOAD DATA FROM MASTER} to set up Please see the following table for an indication of master-slave
a slave. Note that 4.0.0 slaves cannot communicate with 3.23 masters, but 4.0.1 compatibility between different versions. With regard to version 4.0,
and later version slaves can. 3.23 slave cannot talk to 4.0 master. we recommend using same version on both sides.
You must also be aware that @code{LOAD DATA FROM MASTER} currently works only @c FIX arjen 2002-07-17 new table, not yet measured for XML/DocBook.
if all the tables on the master are @code{MyISAM} type, and will acuire a @multitable @columnfractions .10 .15 .15 .10 .10 .10
@item @tab @tab @strong{Master} @tab @strong{Master} @tab @strong{Master} @tab @strong{Master}
@item @tab @tab @strong{3.23.33 and up} @tab @strong{4.0.0} @tab @strong{4.0.1} @tab @strong{4.0.2}
@item @strong{Slave} @tab @strong{3.23.33 and up} @tab yes @tab no @tab no @tab no
@item @strong{Slave} @tab @strong{4.0.0} @tab no @tab yes @tab no @tab no
@item @strong{Slave} @tab @strong{4.0.1} @tab yes @tab no @tab yes @tab no
@item @strong{Slave} @tab @strong{4.0.2} @tab yes @tab no @tab no @tab yes
@end multitable
Starting from 4.0.0, one can use @code{LOAD DATA FROM MASTER} to set up
a slave. Be aware that @code{LOAD DATA FROM MASTER} currently works only
if all the tables on the master are @code{MyISAM} type, and will acquire a
global read lock, so no writes are possible while the tables are being global read lock, so no writes are possible while the tables are being
transferred from the master. This limitation is of a temporary nature, and is transferred from the master. This limitation is of a temporary nature, and is
due to the fact that we have not yet implemented hot lock-free table backup. due to the fact that we have not yet implemented hot lock-free table backup.