lp:~sergei.glushchenko/percona-xtrabackup/BT30559-kill-long-selects
Created by
Sergei Glushchenko
and last modified
- Get this branch:
- bzr branch lp:~sergei.glushchenko/percona-xtrabackup/BT30559-kill-long-selects
Only
Sergei Glushchenko
can upload to this branch. If you are
Sergei Glushchenko
please log in for upload directions.
Branch merges
Propose for merging
- Alexey Kopytov (community): Approve
-
Diff: 514 lines (+421/-3)2 files modifiedinnobackupex (+240/-3)
test/t/kill_long_selects.sh (+181/-0)
Related bugs
Related blueprints
Branch information
- Owner:
- Sergei Glushchenko
- Status:
- Merged
Recent revisions
- 606. By Sergei Glushchenko
-
Blueprint https:/
/blueprints. launchpad. net/percona- xtrabackup/ +spec/safe- ftwrl
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.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:percona-xtrabackup/2.1