Bug #14417 | RBR: Thread-safety and table maps | ||
---|---|---|---|
Submitted: | 28 Oct 2005 8:55 | Modified: | 1 Dec 2005 19:30 |
Reporter: | Mats Kindahl | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 5.0-wl1012 | OS: | Any (ALL) |
Assigned to: | Mats Kindahl | CPU Architecture: | Any |
[28 Oct 2005 8:55]
Mats Kindahl
[24 Nov 2005 20:31]
Mats Kindahl
There is a race condition where a Query_log_event can be inserted between a Table_map_log_event and the corresponding Rows_log_event. The reason is that there is no single lock that protects the sequence of generating these two events. This thread-insafety was noted elsewhere, but is added to this bug since it is related to the use of table maps and table map versions.