Bug #34447 | replication failure on DELETE after INSERT on an unrelated table | ||
---|---|---|---|
Submitted: | 10 Feb 2008 14:46 | Modified: | 19 Mar 2008 7:12 |
Reporter: | Philip Stoev | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S1 (Critical) |
Version: | 5.1-BK | OS: | Any |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[10 Feb 2008 14:46]
Philip Stoev
[10 Feb 2008 14:50]
Philip Stoev
Test case for bug 34447
Attachment: bug34447.zip (application/x-zip-compressed, text), 1.31 KiB.
[10 Feb 2008 14:52]
Philip Stoev
Please run the attached test case as follows: 1. Unpack the zip file so that the .txt files are placed in mysql-test and the .test files are placed in mysql-test/t. 2. Start a mysql server in replication: $ perl ./mysql-test-run.pl --start-and-exit --skip-ndb rpl_alter 3. Run test case against that server: $ perl ./mysql-test-run.pl --stress --stress-init-file=bug34447_init.txt --stress-test-file=bug34447_run.txt --stress-threads=2 --stress-test-duration=600 --extern --socket=var/tmp/master.sock --user=root 4. In a separate mysql client, issue SHOW PROCESSLIST. You will see that replication will fail very shortly after starting the test. If the test is run with --stress-threads=2, no failures are observed. If either the DELETE or the second INSERT query is removed, no failures either.
[12 Feb 2008 10:13]
Philip Stoev
Final comment should read "if test is run with --stress-test-threads=1, no errors are observed", that is, it is this bug is a concurrency issue since it does not show itself up when only one client is running.
[12 Feb 2008 18:54]
Susanne Ebrecht
Verified as described.
[13 Feb 2008 22:16]
Omer Barnir
triage: need e/r values to determine target
[19 Mar 2008 7:12]
Zhenxing He
dup of bug#29020