Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Incomplete
-
10.2.8
Description
Hi dudes, after upgrade from mariadb 10.1 to 10.2.8, some simple transaction is running for infinitive times...
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST where Time > 9000\G |
I have 19 transaction that is running for this time
they won't die with kill command..
ID: 10245887
|
USER: novid
|
HOST:
|
DB: api
|
COMMAND: Killed
|
TIME: 106767
|
STATE: NULL
|
INFO: insert into `driver_status_changelog` (`status`, `driver_id`, `updated_at`, `created_at`) values ('4', '65767', '2017-09-06 09:22:04', '2017-09-06 09:22:04')
|
TIME_MS: 106767343.552
|
STAGE: 0
|
MAX_STAGE: 0
|
PROGRESS: 0.000
|
MEMORY_USED: 92848
|
EXAMINED_ROWS: 0
|
QUERY_ID: 300183941
|
INFO_BINARY: insert into `driver_status_changelog` (`status`, `driver_id`, `updated_at`, `created_at`) values ('4', '65767', '2017-09-06 09:22:04', '2017-09-06 09:22:04')
|
TID: 15109
|
and with SHOW ENGINE INNODB STATUS\G
---TRANSACTION 46385651188, ACTIVE 107004 sec
|
8 lock struct(s), heap size 1136, 4 row lock(s), undo log entries 4
|
MySQL thread id 10245887, OS thread handle 0x7f898dcb6700, query id 300183941 api
|
insert into `driver_status_changelog` (`status`, `driver_id`, `updated_at`, `created_at`) values ('4', '65767', '2017-09-06 09:22:04', '2017-09-06 09:22:04')
|
Trx read view will not see trx with id >= 46385651191, sees < 46385650307
|
changing in these transaction is so small (2 or 3) so waiting is not for transaction rollback.
Thread stay in killed state and so some record is lock for infinitive time
Attachments
Issue Links
- relates to
-
MDEV-11896 thd_get_error_context_description race condition
- Closed
-
MDEV-13983 Mariadb becomes unresponsive
- Closed