Needless sleep between purge thread iterations during shutdown
Bug #1609523 reported by
Laurynas Biveinis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Fix Released
|
Medium
|
Laurynas Biveinis | |||
5.6 |
Invalid
|
Undecided
|
Unassigned | |||
5.7 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
After bug 1609364 fix, the 5.5 separate purge thread tries to purge up to TRX_SYS_N_RSEGS times when there is nothing to purge before quitting, but it sleeps needlessly for up to 1 second between these iterations, delaying the shutdown.
To post a comment you must log in.
https:/ /github. com/percona/ percona- server/ pull/773 /github. com/percona/ percona- server/ pull/774 /github. com/percona/ percona- server/ pull/775
https:/
https:/