time_ms for idle threads in processlist poorly defined

Bug #1380947 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.1
Won't Fix
Medium
Unassigned
5.5
Triaged
Medium
Unassigned
5.6
Triaged
Medium
Unassigned
5.7
Triaged
Medium
Unassigned

Bug Description

TIME_MS column in SHOW PROCESSLIST is documented as "The time in milliseconds that the thread has been in its current state.". But for threads in Sleep state this is not true, and the return value happens to be time from the start of execution of the last statement, i.e. the statement execution time + idle time since its completion. It should be fixed to match the docs instead.

Tags: processlist
tags: added: processlist
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-1547

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.