Bug #29904 | Cluster replication breaks on large VARCHAR fields | ||
---|---|---|---|
Submitted: | 19 Jul 2007 15:43 | Modified: | 7 Jan 2008 14:38 |
Reporter: | Geert Vanderkelen | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Cluster: Replication | Severity: | S2 (Serious) |
Version: | 5.1.18_6.2.2 | OS: | Linux |
Assigned to: | justin he | CPU Architecture: | Any |
[19 Jul 2007 15:43]
Geert Vanderkelen
[19 Jul 2007 15:44]
Geert Vanderkelen
Configuration of Master and Slave (my.cnf's and config.ini)
Attachment: bug29904_config.txt (text/plain), 700 bytes.
[19 Jul 2007 17:00]
Geert Vanderkelen
Reproduced with 5.1.18_6.2.2 and 5.1.19_6.2.3 (MCCGE). Could not reproduce with 5.1.20-beta. Just to confirm: works fine with MyISAM.
[29 Aug 2007 9:29]
Geert Vanderkelen
Verified with 5.1.19_6.2 from BK: still not working, but different error now with table 't1' is full. 070829 11:20:33 [ERROR] Slave SQL: Error in Write_rows event: row application failed. The table 't1' is full, Error_code: 1114 070829 11:20:33 [ERROR] Slave SQL: Error in Write_rows event: error during transaction execution on table test.t1. The table 't1' is full, Error_code: 1114 070829 11:20:33 [Warning] Slave: Got error 827 'Out of memory in Ndb Kernel, table data (increase DataMemory)' from NDB Error_code: 1 296 070829 11:20:33 [Warning] Slave: The table 't1' is full Error_code: 1114 070829 11:20:33 [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-log.000017' position 1384507
[4 Sep 2007 10:42]
Jonas Oreland
can you try the following patch ===== storage/ndb/src/kernel/blocks/dbtup/Undo_buffer.cpp 1.5 vs edited ===== 57c57 < page= (UndoPage*)m_mm->alloc_page(RG_DISK_OPERATIONS, &m_first_free); --- > page= (UndoPage*)m_mm->alloc_page(RG_DATAMEM, &m_first_free); 109c109 < m_mm->release_page(RG_DISK_OPERATIONS, key->m_page_no); --- > m_mm->release_page(RG_DATAMEM, key->m_page_no);
[4 Sep 2007 20:15]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/33667 ChangeSet@1.2581, 2007-09-04 22:23:48+02:00, tomas@whalegate.ndb.mysql.com +1 -0 Bug#29904 [Com]: Cluster replication breaks on large VARCHAR fields
[7 Sep 2007 19:07]
Jon Stephens
Documented bugfix in mysql-5.1.22-ndb-6.2.5 changelog. Left bug in PP status pending merge to mainline.