Bug #13227 | Trigger fired by replication does not allow SELECTs | ||
---|---|---|---|
Submitted: | 15 Sep 2005 15:26 | Modified: | 1 Feb 2006 12:52 |
Reporter: | Luis Gasca | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 5.0.12 | OS: | Windows (Windows 2003 Server) |
Assigned to: | Andrei Elkin | CPU Architecture: | Any |
[15 Sep 2005 15:26]
Luis Gasca
[16 Sep 2005 0:55]
John David Duncan
I verified this and I can add one more piece of information. It seems that after you attempt the update from the slave thread, subsequent direct updates on the slave will also fail. For example, after the test, do this directly on the slave: insert into tlookup values (3,300) , (4,400) ; insert into tupdated values (-3); update tupdated set f1 = 3 where f1 = -3; select * from tresult ; This will have created another NULL row in tresult.
[16 Jan 2006 22:00]
Andrei Elkin
The case is quite recurrent in my env with 5.0.19 though not exactly as it was reported. To be continued.
[17 Jan 2006 9:20]
Andrei Elkin
Test case was written. It helped to detect this failure occures randomly. Trying to establish condtions for reliable recurrence.
[27 Jan 2006 10:20]
Andrei Elkin
test to reproduce the problem
Attachment: rpl_trigger_select_looping.test (application/octet-stream, text), 1.87 KiB.
[27 Jan 2006 11:35]
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/1736
[27 Jan 2006 11:36]
Andrei Elkin
The bug seems to be fixed somewhere in between of 5.0.12, where it is reproducable, and the current 5.0.19. Test case is done and submitted as bk patch.
[30 Jan 2006 12:33]
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/1857
[1 Feb 2006 12:52]
Andrei Elkin
Seems to fixed in 5.0.19