Bug #20450 | Problem of replication after having added 1 column in a table on slave side | ||
---|---|---|---|
Submitted: | 14 Jun 2006 8:32 | Modified: | 15 Oct 2009 9:21 |
Reporter: | Daniel Stricot | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Cluster: Replication | Severity: | S2 (Serious) |
Version: | mysql-5.1 | OS: | Linux (LINUX) |
Assigned to: | CPU Architecture: | Any | |
Tags: | 5.1.12-BK, 5.1.8 |
[14 Jun 2006 8:32]
Daniel Stricot
[14 Jun 2006 8:36]
Daniel Stricot
trace execution master side
Attachment: tracevm10 (application/octet-stream, text), 10.41 KiB.
[14 Jun 2006 8:37]
Daniel Stricot
trace execution slave side
Attachment: tracevm11 (application/octet-stream, text), 11.56 KiB.
[14 Jun 2006 8:39]
Daniel Stricot
C++ program to populate table on master side
Attachment: basic-type-popul.cpp (text/x-c++), 22.97 KiB.
[14 Jun 2006 8:40]
Daniel Stricot
C++ program to modify table
Attachment: basic-type-ope.cpp (text/x-c++), 16.99 KiB.
[14 Jun 2006 8:41]
Daniel Stricot
configuration file
Attachment: config.ini (application/octet-stream, text), 1.50 KiB.
[19 Jun 2006 15:02]
Valeriy Kravchuk
Thank you for a problem report. Can it be so that you use row-based replication? Please, send the results of SHOW VARIABLES LIKE 'binlog%'; Read http://dev.mysql.com/doc/refman/5.1/en/replication-row-based.html for the details. Can you try to repeat with a newer version, 5.1.11?
[21 Jun 2006 13:58]
Daniel Stricot
On master side : mysql> SHOW VARIABLES LIKE 'binlog%'; +-------------------+-------+ | Variable_name | Value | +-------------------+-------+ | binlog_cache_size | 32768 | | binlog_format | ROW | +-------------------+-------+ 2 rows in set (0.00 sec) mysql> On slave side: mysql> SHOW VARIABLES LIKE 'binlog%'; +-------------------+-----------+ | Variable_name | Value | +-------------------+-----------+ | binlog_cache_size | 32768 | | binlog_format | STATEMENT | +-------------------+-----------+ 2 rows in set (0.01 sec) The binlog_format is different. I tried to launch mysqld process on the slave side with the option binlog_format = ROW, it was unsuccessful. After I played the mysql statement (after having launched cluster processes like before) : SET GLOBAL binlog_format = 'ROW'; So, I got the same binlog_format on the 2 sides (ROW). it was successful. I tried another time the test I did, it was always unsuccessful. I shall redo the test with the version 5.1.12 .
[17 Jul 2006 12:44]
Daniel Stricot
I did the test with the version 5.1.12-beta, I got the same results. I confirm the problem.
[1 Jun 2009 13:54]
Jonathan Miller
Is this still valid on latest version?
[1 Jul 2009 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[15 Oct 2009 9:21]
Geert Vanderkelen
This should now work in later version of MySQL with binary log format set to 'ROW'. If still problem, need to open new bug report.