Race condition in start_query_killer child code can cause parent MySQL connection to close

Bug #1239728 reported by Sergei Glushchenko on 2013-10-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup
Medium
Sergei Glushchenko
2.1
Medium
Sergei Glushchenko
2.2
Medium
Sergei Glushchenko

Bug Description

Child process do
1. Set SIGHUP handler to hadle termination request
2. Set InactiveDestroy for parent's MySQL connection

If child signaled to terminate before 1 and 2 happened, parent connection will be shut down.

This bug is forked from https://bugs.launchpad.net/percona-xtrabackup/+bug/1214274.

Related branches

lp:~sergei.glushchenko/percona-xtrabackup/2.1-xb-bug1239728
Merged into lp:percona-xtrabackup/2.1 at revision 685
Alexey Kopytov: Approve on 2013-10-30
lp:~sergei.glushchenko/percona-xtrabackup/2.2-xb-bug1239728
Merged into lp:percona-xtrabackup/2.2 at revision 4883
Alexey Kopytov: Approve on 2013-10-30
Changed in percona-xtrabackup:
assignee: nobody → Sergei Glushchenko (sergei.glushchenko)

AutoInactiveDestroy seems not an option. Only precise/quantal/raring workers seems have it.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers