Teemu Ollakka
9487e0b259
MDEV-19826 10.4 seems to crash with "pool-of-threads" ( #1370 )
...
MariaDB 10.4 was crashing when thread-handling was set to
pool-of-threads and wsrep was enabled.
There were two apparent reasons for the crash:
- Connection handling in threadpool_common.cc was missing calls to
control wsrep client state.
- Thread specific storage which contains thread variables (THR_KEY_mysys)
was not handled appropriately by wsrep patch when pool-of-threads
was configured.
This patch addresses the above issues in the following way:
- Wsrep client state open/close was moved in thd_prepare_connection() and
end_connection() to have common handling for one-thread-per-connection
and pool-of-threads.
- Thread local storage handling in wsrep patch was reworked by introducing
set of wsrep_xxx_threadvars() calls which replace calls to
THD store_globals()/reset_globals() and deal with thread handling
specifics internally.
Wsrep-lib was updated to version which relaxes internal concurrency
related sanity checks.
Rollback code from wsrep_rollback_process() was extracted to separate calls
for better readability.
Post rollback thread was removed as it was completely unused.
2019-08-30 08:42:24 +03:00
..
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-08-13 11:42:31 +04:00
2019-01-23 15:30:00 +04:00
2019-07-25 18:42:06 +03:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-07-25 18:42:06 +03:00
2019-01-23 15:30:00 +04:00
2019-07-25 18:42:06 +03:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-03-06 09:00:52 +02:00
2019-07-15 12:06:24 +03:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-02-21 14:40:52 +01:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-25 08:08:31 +02:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-05-19 20:55:37 +02:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-02-08 14:26:56 +01:00
2019-01-23 15:30:00 +04:00
2019-05-29 22:17:00 +03:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2018-11-22 16:36:09 +02:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-02-01 11:05:29 +02:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2018-10-05 16:45:58 +05:30
2019-01-23 15:30:00 +04:00
2019-07-25 18:42:06 +03:00
2019-07-25 18:42:06 +03:00
2019-03-20 10:41:32 +02:00
2019-03-15 21:00:41 +01:00
2019-03-20 10:41:32 +02:00
2019-02-18 12:54:42 +02:00
2019-07-16 07:54:57 +03:00
2019-01-23 15:30:00 +04:00
2019-07-25 18:42:06 +03:00
2019-07-25 18:42:06 +03:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-03-15 12:29:38 +02:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-03-06 09:00:52 +02:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-05-19 23:31:56 +02:00
2019-05-19 20:55:37 +02:00
2019-01-23 15:30:00 +04:00
2018-10-11 08:16:08 +03:00
2019-01-23 15:30:00 +04:00
2019-08-30 08:42:24 +03:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-03-06 09:00:52 +02:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-04-06 12:33:51 +03:00
2019-04-06 12:33:51 +03:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2018-12-13 15:22:57 +01:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2018-11-22 16:36:09 +02:00
2019-01-23 15:30:00 +04:00
2019-07-04 19:42:30 +03:00
2019-07-04 19:42:30 +03:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-02-08 11:18:18 +01:00
2018-09-14 11:16:54 +03:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-07-25 18:42:06 +03:00
2019-02-18 12:54:42 +02:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-07-25 18:42:06 +03:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-03-11 11:45:33 +02:00
2019-01-23 15:30:00 +04:00
2019-07-25 18:42:06 +03:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-02-13 13:19:37 +02:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-07-05 06:51:29 +03:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-07-25 18:42:06 +03:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-07-25 18:42:06 +03:00
2019-03-15 07:09:13 +02:00
2019-01-23 15:30:00 +04:00
2019-05-15 12:09:12 +03:00
2019-06-18 12:36:29 +03:00
2019-07-04 19:42:30 +03:00
2019-03-06 09:00:52 +02:00
2019-03-06 09:00:52 +02:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-08-15 13:48:55 +03:00
2019-08-14 18:06:51 +03:00
2019-08-14 18:06:51 +03:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-07-25 18:42:06 +03:00
2019-07-25 18:42:06 +03:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-03-11 16:33:01 +02:00
2019-01-23 15:30:00 +04:00
2019-07-25 18:42:06 +03:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-02-13 13:19:37 +02:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-03-29 10:59:04 +02:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00