Needless sleep between purge thread iterations during shutdown

Bug #1609523 reported by Laurynas Biveinis
6
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.

Tags: xtradb
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :
tags: added: xtradb
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Note to docs: this was invisible until bug 1609364 fix, thus no user saw it in a released version, no release notes entry is required.

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/PS-3507

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.