Bug #30415 | Rep: DROP Extra Column from master causes SQL thread to stop | ||
---|---|---|---|
Submitted: | 14 Aug 2007 18:00 | Modified: | 24 Dec 2012 8:21 |
Reporter: | Jonathan Miller | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | mysql5.1-telco-6.2 | OS: | Linux |
Assigned to: | Mats Kindahl | CPU Architecture: | Any |
[14 Aug 2007 18:00]
Jonathan Miller
[30 Nov 2007 19:21]
Jonathan Miller
From latest mysql-5.1-new-rpl clone 071130 22:18:42 [ERROR] Slave SQL: Error 'Can't DROP 'c7'; check that column/key exists ' on query. Default database: 'test'. Query: 'ALTER TABLE t14 DROP COLUMN c7', Error_co de: 1091 071130 22:18:42 [Warning] Slave: Can't DROP 'c7'; check that column/key exists Error_co de: 1091 071130 22:18:42 [ERROR] Error running query, slave SQL thread aborted. Fix the problem, and restart the slave SQL thread with "SLAVE START". We stopped at log 'master-bin.000 001' position 735 071130 22:19:13 [Note] Got signal 15 to shutdown mysqld To repeat, edit /mysql-test/extra/rpl_tests/rpl_extraMaster_Col.test search for bug 30415 and uncomment the slave line that are commented out. Best wishes, Jonathan
[24 Dec 2012 8:21]
Erlend Dahl
From internal bug system: [11 Dec 2012 5:50] Sven Sandberg (SVSANDB) I think the error is expected. If you use different table definitions on master and slave, and execute a statement that only works on master's table definition, then surely the slave will generate an error. No reason to demote this to a warning - maybe the difference between master is expected in some applications and unexpected in others. The workaround is to disable binary logging while executing statements that do not work on slave. Seems this bug stems from an internal test case - if there is a real use case, please explain and re-open the bug.