Bug #43477 | Server hangs with table general log, statement binlog format and partitions | ||
---|---|---|---|
Submitted: | 7 Mar 2009 20:09 | Modified: | 5 Oct 2010 14:46 |
Reporter: | Elena Stepanova | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Partitions | Severity: | S2 (Serious) |
Version: | 5.1.29, 5.1.32, 5.1.33 | OS: | Any |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[7 Mar 2009 20:09]
Elena Stepanova
[7 Mar 2009 20:12]
Elena Stepanova
Test file
Attachment: server_hangup.test (application/octet-stream, text), 1.28 KiB.
[7 Mar 2009 20:16]
Elena Stepanova
The minimal command to run the test is perl ./mysql-test-run.pl --mysqld=--log-output=TABLE --mysqld=--general-log --do-test=server_hangup binlog_format is set to STATEMENT in the test itself.
[7 Apr 2010 14:22]
Mattias Jonsson
Related to bug#51851. The problem is that partitioning holds the table_share->mutex to avoid giving the same auto_increment values when in statement based replication. Solution would be to use the patch given in bug#51851 also in 5.1 (i.e break out the partitioning specific data from ha_data into ha_part_data and add a destroy function for that too). This will also resolve the problem that table_share->ha_data cannot be used by engines if it is partitioned.
[5 Oct 2010 14:46]
Mattias Jonsson
Closing as duplicate of bug#51851. (tested after that was pushed to 51-bugteam).