Merge lp:~sergei.glushchenko/percona-xtrabackup/BT30559-kill-long-selects into lp:percona-xtrabackup/2.1
Status: | Merged |
---|---|
Approved by: | Alexey Kopytov |
Approved revision: | no longer in the source branch. |
Merged at revision: | 613 |
Proposed branch: | lp:~sergei.glushchenko/percona-xtrabackup/BT30559-kill-long-selects |
Merge into: | lp:percona-xtrabackup/2.1 |
Diff against target: |
514 lines (+421/-3) 2 files modified
innobackupex (+240/-3) test/t/kill_long_selects.sh (+181/-0) |
To merge this branch: | bzr merge lp:~sergei.glushchenko/percona-xtrabackup/BT30559-kill-long-selects |
Related bugs: | |
Related blueprints: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexey Kopytov (community) | Approve | ||
Review via email: mp+164748@code.launchpad.net |
Description of the change
Blueprint https:/
Try to catch the moment when no long queries are running.
Try to kill all the queries which block the global lock.
To determine a good moment, innobackupex analyses
SHOW FULL PROCESSLIST output, particularly looking into
Time field. If there is no process with Time greater than
specified threshold, the moment is considered to be good.
If no good moment been chatched during specified time,
innobackupex bail out.
After the global lock issued, spawn child process to kill
the queries which bloc the global lock.
There is a lot of Jenkins failures, most of them are unrelated.
There are potential issues with test case as it rely heavily on timings. Suggestions to improve are welcome.
http://
Sergei,
There are conflicts in innobackupex. Please also re-run Jenkins tests with exactly the same branch as has been submitted for reviews.