[MDEV-11418] AliSQL: [Feature] Issue#1 KILL IDLE TRANSACTIONS Created: 2016-11-29 Updated: 2017-07-02 Resolved: 2017-04-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Fix Version/s: | 10.3.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Sergey Vojtovich | Assignee: | Sergey Vojtovich |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||
| Sub-Tasks: |
|
||||||||||
| Epic Link: | AliSQL patches | ||||||||||
| Description |
|
https://github.com/alibaba/AliSQL/commit/68d6a67a7f93e25c9b4e0bc42445878b1433b2a5 |
| Comments |
| Comment by Sergey Vojtovich [ 2017-02-15 ] |
|
plinux, this patch looks interesting, but could you elaborate a few things:
|
| Comment by Lixun Peng [ 2017-02-15 ] |
|
Idle transaction means the transaction is started and done some operations, but forget to query a COMMIT or ROLLBACK. And trx_idle_timeout is a higher priority option, if users can accept the readonly and non-readonly transactions use the same timeout number, then it can use this option. |
| Comment by Sergey Vojtovich [ 2017-02-16 ] |
|
plinux, alright I agree different timeouts for read-only and read-write transactions are useful. Per my understanding one of options is to adjust wait_timeout before every transaction, but it requires application changes and is not acceptable for you. Still I don't completely understand a few implementation things:
|
| Comment by Lixun Peng [ 2017-02-20 ] |
|
svoj |
| Comment by Sergey Vojtovich [ 2017-04-24 ] |
|
New variables added: Otherwise it is similar to original patch. |