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

Bug #1239728 reported by Sergei Glushchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Medium
Sergei Glushchenko
2.1
Fix Released
Medium
Sergei Glushchenko
2.2
Fix Released
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

Changed in percona-xtrabackup:
assignee: nobody → Sergei Glushchenko (sergei.glushchenko)
Revision history for this message
Sergei Glushchenko (sergei.glushchenko) wrote :

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

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-667

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.