Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
Description:
|
------------
|
Terminate idle transactions safely in server layer by setting up socket timeout parameter. Percona provides another
|
patch to resolve similar problem, but it calls server layer's callback in InnoDB plugin to close THD, which crashes in some
|
testcases. See https://bugs.launchpad.net/percona-server/+bug/901060 for more detailed information.
|
1. export parameter trx_idle_timeout to handle all kinds of transactions, the priority is highest
|
2. export parameter trx_readonly_idle_timeout to handle read-only transactions
|
3. export parameter trx_changes_idle_timeout to handle read-write transactions
|
https://github.com/alibaba/AliSQL/commit/68d6a67a7f93e25c9b4e0bc42445878b1433b2a5
Attachments
Issue Links
- relates to
-
MDEV-13233 Idle transaction timeouts kills connections rather than transactions
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Epic Link | MDEV-11372 [ 59082 ] |
Assignee | Sergey Vojtovich [ svoj ] |
Assignee | Sergey Vojtovich [ svoj ] | Lixun Peng [ plinux ] |
Assignee | Lixun Peng [ plinux ] | Sergey Vojtovich [ svoj ] |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Assignee | Sergey Vojtovich [ svoj ] | Michael Widenius [ monty ] |
Status | Confirmed [ 10101 ] | In Review [ 10002 ] |
Assignee | Michael Widenius [ monty ] | Sergey Vojtovich [ svoj ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Component/s | OTHER [ 10125 ] | |
Fix Version/s | 10.3.0 [ 22127 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Link |
This issue relates to |
Workflow | MariaDB v3 [ 78528 ] | MariaDB v4 [ 133049 ] |
plinux, this patch looks interesting, but could you elaborate a few things: