mirror of
https://github.com/MariaDB/server.git
synced 2025-02-09 23:24:11 +01:00
![Teemu Ollakka](/assets/img/avatar_default.png)
An assertion `server_state_.rollback_mode() == wsrep::server_state::rm_async` fired in before_command() when - thread-handling was set to pool-of-threads and - a BF abort happened between client session calls to wait_rollback_complete_and_acquire_ownership() and before_command(). This commit introduces a test case to reproduce the crash and updates wsrep-lib submodule to fixed version.
16 lines
495 B
Text
16 lines
495 B
Text
connection node_2;
|
|
connection node_1;
|
|
CREATE TABLE t1 (f1 INT PRIMARY KEY) ENGINE=InnoDB;
|
|
connection node_1;
|
|
START TRANSACTION;
|
|
INSERT INTO t1 VALUES (1);
|
|
SET DEBUG_SYNC = "wsrep_before_before_command SIGNAL reached WAIT_FOR continue";
|
|
COMMIT;
|
|
connection node_1_ctrl;
|
|
SET DEBUG_SYNC = "now WAIT_FOR reached";
|
|
connection node_2;
|
|
INSERT INTO t1 VALUES (1);
|
|
connection node_1;
|
|
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
|
|
DROP TABLE t1;
|
|
SET DEBUG_SYNC = "RESET";
|