mysqld hangs during shutdown after fake replace attempt
Bug #906218 reported by
Valentine Gostev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Invalid
|
High
|
Unassigned | ||
5.5 |
Invalid
|
High
|
Unassigned |
Bug Description
After hitting the case described in bug #898306, mysqld fails to shut down in a proper way:
Steps to reproduce:
- enable fake changes,
- attempt to replace,
- interrupt looping trx
- disable fake changes
- issue shutdown
After shutdown command is issued, mysqld stops accepting connections and hangs on:
futex(0x106daa4, FUTEX_WAIT_PRIVATE, 6, NULL
Backtrace attached.
To post a comment you must log in.
That's just a result of the infinite loop reported in bug #898306, i.e. the connection cannot be killed by the server, because it's not checking the killed flag. There is nothing that can be done for this bug specifically, we just need to fix #898306.