| 1 |
--- r/galera_bf_kill.result |
| 2 |
+++ r/galera_bf_kill,debug.reject |
| 3 |
@@ -77,4 +77,34 @@ a b |
| 4 |
5 2 |
| 5 |
disconnect node_2a; |
| 6 |
connection node_1; |
| 7 |
+connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2; |
| 8 |
+connection node_2a; |
| 9 |
+truncate t1; |
| 10 |
+insert into t1 values (7,0); |
| 11 |
+connection node_2; |
| 12 |
+set wsrep_sync_wait=0; |
| 13 |
+begin; |
| 14 |
+update t1 set b=2 where a=7; |
| 15 |
+connect node_2b, 127.0.0.1, root, , test, $NODE_MYPORT_2; |
| 16 |
+set wsrep_sync_wait=0; |
| 17 |
+SET GLOBAL debug_dbug = "d,sync.wsrep_apply_cb"; |
| 18 |
+connection node_1; |
| 19 |
+update t1 set b=1 where a=7; |
| 20 |
+connection node_2b; |
| 21 |
+SET SESSION DEBUG_SYNC = "now WAIT_FOR sync.wsrep_apply_cb_reached"; |
| 22 |
+connection node_2; |
| 23 |
+connection node_2b; |
| 24 |
+SET DEBUG_SYNC = "now SIGNAL signal.wsrep_apply_cb"; |
| 25 |
+connection node_2; |
| 26 |
+ERROR 40001: Deadlock found when trying to get lock; try restarting transaction |
| 27 |
+commit; |
| 28 |
+select * from t1; |
| 29 |
+a b |
| 30 |
+7 1 |
| 31 |
+connection node_2a; |
| 32 |
+SET DEBUG_SYNC= 'RESET'; |
| 33 |
+SET GLOBAL debug_dbug = ""; |
| 34 |
+disconnect node_2a; |
| 35 |
+disconnect node_2b; |
| 36 |
+connection node_1; |
| 37 |
drop table t1; |