Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| --- r/wsrep-recover-v25.result 2019-01-27 15:38:58.819204748 +0200 | ||
| +++ r/wsrep-recover-v25.reject 2019-01-27 15:39:49.967358994 +0200 | ||
| @@ -18,11 +18,10 @@ | ||
| connection default; | ||
| SET DEBUG_SYNC = "now WAIT_FOR after_prepare_reached"; | ||
| # Kill the server | ||
| -Expect seqno 3 | ||
| -3 | ||
| -Expect 5 7 | ||
| +Expect seqno 2 | ||
| +2 | ||
| +Expect 5 | ||
| SELECT * FROM t1; | ||
| f1 | ||
| 5 | ||
| -7 | ||
| DROP TABLE t1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # Kill the server | ||
| Expect seqno 0 | ||
| 0 | ||
| CREATE TABLE t1 (f1 INT PRIMARY KEY) ENGINE=InnoDB; | ||
| # Kill the server | ||
| Expect seqno 1 | ||
| 1 | ||
| INSERT INTO t1 VALUES (5); | ||
| # Kill the server | ||
| Expect seqno 2 | ||
| 2 | ||
| SELECT VARIABLE_VALUE `expect 2` FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_last_committed'; | ||
| expect 2 | ||
| 2 | ||
| connect con1, localhost, root; | ||
| SET DEBUG_SYNC = "ha_commit_trans_after_prepare SIGNAL after_prepare_reached WAIT_FOR continue"; | ||
| INSERT INTO t1 VALUES (7); | ||
| connection default; | ||
| SET DEBUG_SYNC = "now WAIT_FOR after_prepare_reached"; | ||
| # Kill the server | ||
| Expect seqno 3 | ||
| 3 | ||
| Expect 5 7 | ||
| SELECT * FROM t1; | ||
| f1 | ||
| 5 | ||
| 7 | ||
| DROP TABLE t1; |