Bug #50846 | BACKPORT: Locking tests failing in pushbuild tree | ||
---|---|---|---|
Submitted: | 2 Feb 2010 18:44 | Modified: | 10 Feb 2010 20:23 |
Reporter: | Chuck Bell | Email Updates: | |
Status: | Patch queued | Impact on me: | |
Category: | MySQL Server: Backup | Severity: | S3 (Non-critical) |
Version: | 5.4.4 | OS: | Any |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[2 Feb 2010 18:44]
Chuck Bell
[5 Feb 2010 14:54]
Chuck Bell
Chuck assumes the bug since Rafal is sick -- get well soon, Rafal!
[5 Feb 2010 15:31]
Chuck Bell
These tests share a common sync point which is not being reached: wait_for_lock. I will ask the runtime team to confirm that this sequence is no longer reached and ask for a equivalent wait point.
[5 Feb 2010 15:47]
Chuck Bell
It has been confirmed the wait_for_lock() code is no longer called when locking tables for write. Thus, we must remove this sync point from the tests.
[5 Feb 2010 16:36]
Chuck Bell
Removing the wait_for_lock sync point works, but results in non-deterministic values for the IS.PROCESSLIST since the lock is not in a separate thread.
[9 Feb 2010 16:20]
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/99751 3086 Chuck Bell 2010-02-09 BUG#50846 : BACKPORT: Locking tests failing in pushbuild tree The locking tests that use the wait_for_lock sync point in the old server locking code fail because the method wait_for_lock() has been replaced with the new MDL code. This patch introduces a new sync point in the new MDL code for synchronizing the locking tests. @ mysql-test/suite/backup/r/backup_myisam_sync.result Corrected result file. @ mysql-test/suite/backup/r/backup_restore_locking.result Corrected result file. @ mysql-test/suite/backup/t/backup_myisam_sync.test Changed test to use new sync point in mdl code. @ mysql-test/suite/backup/t/backup_restore_locking.test Changed test to use new sync point in mdl code. Commented out non-deterministic show processlist call -- this was due to change in how locking is done in the server with the new MDL locking code. @ sql/mdl.cc Added sync point for restore locking tests.
[10 Feb 2010 13:22]
Thava Alagu
Good to push.
[10 Feb 2010 17:09]
Ritheesh Vedire
Patch Approved
[10 Feb 2010 20:18]
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/99874 3087 Chuck Bell 2010-02-10 BUG#50846 : BACKPORT: Locking tests failing in pushbuild tree The locking tests that use the wait_for_lock sync point in the old server locking code fail because the method wait_for_lock() has been replaced with the new MDL code. This patch introduces a new sync point in the new MDL code for synchronizing the locking tests. @ mysql-test/suite/backup/r/backup_myisam_sync.result Corrected result file. @ mysql-test/suite/backup/r/backup_restore_locking.result Corrected result file. @ mysql-test/suite/backup/t/backup_myisam_sync.test Changed test to use new sync point in mdl code. @ mysql-test/suite/backup/t/backup_restore_locking.test Changed test to use new sync point in mdl code. Commented out non-deterministic show processlist call -- this was due to change in how locking is done in the server with the new MDL locking code. @ sql/mdl.cc Added sync point for restore locking tests.
[10 Feb 2010 20:23]
Chuck Bell
Patch queued to mysql-next-mr-backup and mysql-backup-backport.