-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-25562 Assertion `pause_seqno_.is_undefined() == false' failed in…
… void wsrep::server_state::resume() If pause() is not executed in galera and returns seqno = -1 we should skip resume().
- Loading branch information
mkaruza
authored and
Jan Lindström
committed
May 21, 2021
1 parent
08b6fd9
commit 5667baa
Showing
3 changed files
with
43 additions
and
3 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,16 @@ | ||
connection node_2; | ||
connection node_1; | ||
SET SESSION WSREP_ON=0; | ||
FLUSH TABLES WITH READ LOCK AND DISABLE CHECKPOINT; | ||
SET SESSION WSREP_ON=1; | ||
UNLOCK TABLES; | ||
SET GLOBAL wsrep_ignore_apply_errors=1; | ||
CREATE TABLE t1 (a CHAR(1)) engine=innodb; | ||
CREATE TABLE t1 (a CHAR(1)) engine=innodb; | ||
ERROR 42S01: Table 't1' already exists | ||
SHOW PROCEDURE STATUS WHERE db = 'test'; | ||
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation | ||
SET GLOBAL read_only=1; | ||
SET GLOBAL wsrep_ignore_apply_errors=DEFAULT; | ||
SET GLOBAL read_only=DEFAULT; | ||
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,23 @@ | ||
# | ||
# MDEV-25562 Assertion `pause_seqno_.is_undefined() == false' failed in void wsrep::server_state::resume() | ||
# | ||
|
||
--source include/galera_cluster.inc | ||
--source include/have_innodb.inc | ||
|
||
SET SESSION WSREP_ON=0; | ||
FLUSH TABLES WITH READ LOCK AND DISABLE CHECKPOINT; | ||
SET SESSION WSREP_ON=1; | ||
UNLOCK TABLES; | ||
|
||
SET GLOBAL wsrep_ignore_apply_errors=1; | ||
CREATE TABLE t1 (a CHAR(1)) engine=innodb; | ||
--error ER_TABLE_EXISTS_ERROR | ||
CREATE TABLE t1 (a CHAR(1)) engine=innodb; | ||
SHOW PROCEDURE STATUS WHERE db = 'test'; | ||
SET GLOBAL read_only=1; | ||
|
||
SET GLOBAL wsrep_ignore_apply_errors=DEFAULT; | ||
SET GLOBAL read_only=DEFAULT; | ||
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