mariadb/storage/spider
Jacob Mathew ab9d420df3 MDEV-7914: spider/bg.ha, spider/bg.ha_part crash server sporadically in buildbot
The crash occurs when a thread that is closing its connection attempts to
access Spider transaction information when another thread has freed that memory
while processing Spider plugin deinit.  This occurs because Spider does not
adjust the plugin's reference count when it sets a transaction information
pointer for the plugin.

The fix I implemented changes the way Spider sets the transaction information
pointer to use thd_set_ha_data() so that Spider's plugin reference counter is
adjusted as well.

Author:
  Jacob Mathew.

Reviewer:
  Kentoku Shiba.

Merged From:
  Commit eabfadc on branch bb-10.3-MDEV-7914
2018-05-17 11:21:13 -07:00
..
hs_client MDEV-13384 - misc Windows warnings fixed 2017-09-28 17:20:46 +00:00
mysql-test/spider Run spider mtr suites in 10.1 only on demand. 2017-06-30 16:17:29 -07:00
scripts MDEV-15692: install_spider.sql can fail with some collations 2018-04-12 12:14:12 -07:00
CMakeLists.txt fix compilation wih -DPLUGIN_PARTITION=NO 2018-02-22 08:40:54 +01:00
configure.in
ha_spider.cc MDEV-7914: spider/bg.ha, spider/bg.ha_part crash server sporadically in buildbot 2018-05-17 11:21:13 -07:00
ha_spider.h MDEV-8954 unnecessary fetch of entire table 2017-05-01 16:04:47 -07:00
Makefile.am
spd_conn.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
spd_conn.h Correct FSF address 2017-03-10 18:21:29 +01:00
spd_copy_tables.cc MDEV-15698: Spider ignores syntax errors in connection string in COMMENT field 2018-05-01 18:47:04 -07:00
spd_copy_tables.h Correct FSF address 2017-03-10 18:21:29 +01:00
spd_db_conn.cc MDEV-15712: If remote server used by Spider table is unavailable, some operations hang for a long time 2018-04-30 19:44:02 -07:00
spd_db_conn.h Correct FSF address 2017-03-10 18:21:29 +01:00
spd_db_handlersocket.cc MDEV-8954 unnecessary fetch of entire table 2017-05-01 16:04:47 -07:00
spd_db_handlersocket.h MDEV-8954 unnecessary fetch of entire table 2017-05-01 16:04:47 -07:00
spd_db_include.h MDEV-8954 unnecessary fetch of entire table 2017-05-01 16:04:47 -07:00
spd_db_mysql.cc MDEV-15712: If remote server used by Spider table is unavailable, some operations hang for a long time 2018-04-30 19:44:02 -07:00
spd_db_mysql.h MDEV-8954 unnecessary fetch of entire table 2017-05-01 16:04:47 -07:00
spd_db_oracle.cc Merge branch '10.1' into 10.2 2018-03-21 10:36:49 +02:00
spd_db_oracle.h MDEV-8954 unnecessary fetch of entire table 2017-05-01 16:04:47 -07:00
spd_direct_sql.cc MDEV-15698: Spider ignores syntax errors in connection string in COMMENT field 2018-05-01 18:47:04 -07:00
spd_direct_sql.h Correct FSF address 2017-03-10 18:21:29 +01:00
spd_err.h Correct FSF address 2017-03-10 18:21:29 +01:00
spd_i_s.cc Correct FSF address 2017-03-10 18:21:29 +01:00
spd_include.h MDEV-15712: If remote server used by Spider table is unavailable, some operations hang for a long time 2018-04-30 19:44:02 -07:00
spd_malloc.cc Correct FSF address 2017-03-10 18:21:29 +01:00
spd_malloc.h MDEV-7914: spider/bg.ha, spider/bg.ha_part crash server sporadically in buildbot 2018-05-17 11:21:13 -07:00
spd_param.cc MDEV-15697 post-fix: Remove an unused variable 2018-05-11 18:09:05 +03:00
spd_param.h MDEV-15697: Remote user used by Spider needs SUPER privilege 2018-05-09 12:17:57 -07:00
spd_ping_table.cc Correct FSF address 2017-03-10 18:21:29 +01:00
spd_ping_table.h Correct FSF address 2017-03-10 18:21:29 +01:00
spd_sys_table.cc MDEV-14019: Spider + binlog_format = ROW => CRASH 2018-03-09 19:14:20 -08:00
spd_sys_table.h Correct FSF address 2017-03-10 18:21:29 +01:00
spd_table.cc MDEV-7914: spider/bg.ha, spider/bg.ha_part crash server sporadically in buildbot 2018-05-17 11:21:13 -07:00
spd_table.h MDEV-15698: Spider ignores syntax errors in connection string in COMMENT field 2018-05-01 18:47:04 -07:00
spd_trx.cc MDEV-7914: spider/bg.ha, spider/bg.ha_part crash server sporadically in buildbot 2018-05-17 11:21:13 -07:00
spd_trx.h Correct FSF address 2017-03-10 18:21:29 +01:00
spd_udf.cc Correct FSF address 2017-03-10 18:21:29 +01:00
spd_udf.def
spd_udf.h Correct FSF address 2017-03-10 18:21:29 +01:00