summaryrefslogtreecommitdiff
path: root/storage/rocksdb/mysql-test/rocksdb/t/mariadb_plugin.test
Commit message (Collapse)AuthorAgeFilesLines
* plugin can signal that it cannot be unloaded by failing deinit()Sergei Golubchik2021-10-271-21/+7
| | | | | | | | | | | | if plugin->deinit() returns a failure, it is no longer ignored, it means that the plugin isn't ready to be unloaded from memory yet. So it's marked "dying", deinitialized as much as possible, but stays in memory until shutdown. also: * increment MARIA_PLUGIN_INTERFACE_VERSION * rewrite ha_rocksdb to use the new approach, update the test
* Fixed RocksDB to follow THD ha_data protocolSergey Vojtovich2019-05-211-6/+10
| | | | | | | | | | | | | | Use thd_get_ha_data()/thd_set_ha_data() which protect against plugin removal until it has THD ha_data. Do not reset THD ha_data in rocksdb_close_connection(), cleaner approach is to let ha_close_connection() do it. Removed transaction objects cleanup from rocksdb_done_func(). As we lock plugin properly, there must be no transaction objects during RocksDB shutdown. Part of MDEV-19515 - Improve connect speed
* MDEV-15686: Loading MyRocks plugin back after it has been unloaded causes a ↵Sergei Petrunia2018-03-291-1/+18
| | | | | | crash Adjust the testcase to handle all possible outcomes.
* MDEV-15686: Loading MyRocks plugin back after it has been unloaded causes a ↵Sergei Petrunia2018-03-281-0/+10
| | | | | | | | | | crash - Disallow loading of MyRocks (or any auxilary) plugins after it has been unloaded. - Do it carefully - Plugin's system variables may be accesssed (e.g. default value is set) after the first rocksdb_done_func() call but before the secon rocksdb_init_func() call.
* MDEV-15708: rocksdb.mariadb_plugin fails on winx64, Cannot enable tc-log at ↵Sergei Petrunia2018-03-281-0/+7
| | | | | | | | run-time Ignore the warning. On Windows, Galera is not available so the server starts in non-XA mode when both MyRocks and InnoDB are disabled.
* MDEV-14843: Assertion `s_tx_list.size() == 0' failed in ↵Sergei Petrunia2018-03-261-0/+21
myrocks::Rdb_transaction::term_mutex When the plugin is unloaded, walk the s_trx_list and delete the left over Rdb_transaction objects. It is responsibility of the SQL layer to make sure that the storage engine has no open tables when the plugin is being unloaded.