Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
10.0.2, 5.5.31, 5.1.67, 5.2.14, 5.3.12
-
None
-
None
-
Debian Squeeze (6.0.6) x86_64, Linux 3.2.40. Compiled locally. This is 5.5.28-MariaDB-log.
Description
In the information_schema.processlist table, the Time column frequently reports an incorrect value of 2147483647. "show processlist" is not similarly affected. From my testing, I'm reasonably sure these queries are all less than 1 second old. I do see plenty of processes reported with an accurate Time value (>=1).
Examples (with some obfuscation):
*************************** 1. row ***************************
|
ID: 81365
|
USER: xxx
|
HOST: xxx
|
DB: xxx
|
COMMAND: Query
|
TIME: 2147483647
|
STATE: Sending data
|
INFO: select xxx left outer join xxx on xxx where xxx
|
TIME_MS: 18446744073709550.000
|
STAGE: 0
|
MAX_STAGE: 0
|
PROGRESS: 0.000
|
|
*************************** 1. row ***************************
|
ID: 82602
|
USER: xxx
|
HOST: xxx
|
DB: xxx
|
COMMAND: Query
|
TIME: 2147483647
|
STATE: optimizing
|
INFO: select xxx from xxx where xxx
|
TIME_MS: 18446744073709550.000
|
STAGE: 0
|
MAX_STAGE: 0
|
PROGRESS: 0.000
|
Attachments
Issue Links
- duplicates
-
MDEV-4673 PROCESSLIST time in processlist is very high (maybe time = 0 setted and unsigned overflow?)
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Description |
In the information_schema.processlist table, the Time column frequently reports an incorrect value of 2147483647. "show processlist" is not similarly affected. From my testing, I'm reasonably sure these queries are all less than 1 second old. I do see plenty of processes reported with an accurate Time value (>=1). Examples (with some obfuscation): *************************** 1. row *************************** ID: 81365 USER: xxx HOST: xxx DB: xxx COMMAND: Query TIME: 2147483647 STATE: Sending data INFO: select xxx left outer join xxx on xxx where xxx TIME_MS: 18446744073709550.000 STAGE: 0 MAX_STAGE: 0 PROGRESS: 0.000 *************************** 1. row *************************** ID: 82602 USER: xxx HOST: xxx DB: xxx COMMAND: Query TIME: 2147483647 STATE: optimizing INFO: select xxx from xxx where xxx TIME_MS: 18446744073709550.000 STAGE: 0 MAX_STAGE: 0 PROGRESS: 0.000 |
In the information_schema.processlist table, the Time column frequently reports an incorrect value of 2147483647. "show processlist" is not similarly affected. From my testing, I'm reasonably sure these queries are all less than 1 second old. I do see plenty of processes reported with an accurate Time value (>=1). Examples (with some obfuscation): {noformat} *************************** 1. row *************************** ID: 81365 USER: xxx HOST: xxx DB: xxx COMMAND: Query TIME: 2147483647 STATE: Sending data INFO: select xxx left outer join xxx on xxx where xxx TIME_MS: 18446744073709550.000 STAGE: 0 MAX_STAGE: 0 PROGRESS: 0.000 *************************** 1. row *************************** ID: 82602 USER: xxx HOST: xxx DB: xxx COMMAND: Query TIME: 2147483647 STATE: optimizing INFO: select xxx from xxx where xxx TIME_MS: 18446744073709550.000 STAGE: 0 MAX_STAGE: 0 PROGRESS: 0.000 {noformat} |
Assignee | Elena Stepanova [ elenst ] |
Attachment | mdev4578_debug_sync.patch [ 22300 ] |
Affects Version/s | 5.1.67 [ 12100 ] | |
Affects Version/s | 5.2.14 [ 12101 ] | |
Affects Version/s | 5.3.12 [ 12000 ] | |
Affects Version/s | 10.0.2 [ 11900 ] |
Fix Version/s | 10.0.3 [ 12900 ] | |
Fix Version/s | 5.5.32 [ 13000 ] | |
Fix Version/s | 5.3.13 [ 12602 ] |
Assignee | Elena Stepanova [ elenst ] | Sergei Golubchik [ serg ] |
Fix Version/s | 10.0.4 [ 13101 ] | |
Fix Version/s | 10.0.3 [ 12900 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Resolution | Fixed [ 1 ] | |
Status | Closed [ 6 ] | Reopened [ 4 ] |
Fix Version/s | 5.3.13 [ 12602 ] |
Resolution | Fixed [ 1 ] | |
Status | Reopened [ 4 ] | Closed [ 6 ] |
Workflow | defaullt [ 27541 ] | MariaDB v2 [ 46582 ] |
Workflow | MariaDB v2 [ 46582 ] | MariaDB v3 [ 67290 ] |
Workflow | MariaDB v3 [ 67290 ] | MariaDB v4 [ 146736 ] |