diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2017-02-21 16:28:42 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2017-03-22 19:08:24 +0400 |
commit | af22a70df98a79804e8fa34d8f0af58deee162a3 (patch) | |
tree | fe631d95fa991075f2b02b3faf3b3bc60312972a /include/thread_pool_priv.h | |
parent | 8026cd6202bd252dc9baac31d6c8bc39653bd637 (diff) | |
download | mariadb-git-af22a70df98a79804e8fa34d8f0af58deee162a3.tar.gz |
MDEV-11418 - AliSQL: [Feature] Issue#1 KILL IDLE TRANSACTIONS
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
Diffstat (limited to 'include/thread_pool_priv.h')
-rw-r--r-- | include/thread_pool_priv.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/thread_pool_priv.h b/include/thread_pool_priv.h index afa2848ae88..f5fdbfbdf47 100644 --- a/include/thread_pool_priv.h +++ b/include/thread_pool_priv.h @@ -58,7 +58,6 @@ int thd_connection_has_data(THD *thd); void thd_set_net_read_write(THD *thd, uint val); uint thd_get_net_read_write(THD *thd); void thd_set_mysys_var(THD *thd, st_my_thread_var *mysys_var); -ulong thd_get_net_wait_timeout(THD *thd); my_socket thd_get_fd(THD *thd); int thd_store_globals(THD* thd); |