Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
54856714
Commit
54856714
authored
Oct 30, 2020
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove test that does not apply for 10.4.
parent
eb38e7ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
77 deletions
+0
-77
mysql-test/suite/galera/r/MDEV-22707.result
mysql-test/suite/galera/r/MDEV-22707.result
+0
-26
mysql-test/suite/galera/t/MDEV-22707.test
mysql-test/suite/galera/t/MDEV-22707.test
+0
-51
No files found.
mysql-test/suite/galera/r/MDEV-22707.result
deleted
100644 → 0
View file @
eb38e7ef
CREATE TABLE t1(f2 INT) ENGINE=InnoDB;
connect node_1_applier_thd, 127.0.0.1, root, , test, $NODE_MYPORT_1;
SET GLOBAL debug_dbug = "+d,sync.wsrep_apply_cb";
connection node_2;
SET SESSION wsrep_sync_wait = 0;
INSERT INTO t1 (f2) VALUES (2);
connection node_1_applier_thd;
SET SESSION DEBUG_SYNC = "now WAIT_FOR sync.wsrep_apply_cb_reached";
connection node_1;
SET SESSION wsrep_sync_wait = 0;
SET DEBUG_SYNC = 'wsrep_before_replication SIGNAL wsrep_before_replication_reached WAIT_FOR continue';
INSERT INTO t1 (f2) VALUES (1);
connect node_1_flush_thd, 127.0.0.1, root, , test, $NODE_MYPORT_1;
SET DEBUG_SYNC="now WAIT_FOR wsrep_before_replication_reached";
SET GLOBAL debug_dbug = "+d,sync.wsrep_before_mdl_wait";
FLUSH TABLES;
connect node_1_sync_release_thd, 127.0.0.1, root, , test, $NODE_MYPORT_1;
SET GLOBAL debug_dbug = "";
SET DEBUG_SYNC = "now SIGNAL signal.wsrep_before_mdl_wait";
SET DEBUG_SYNC = "now SIGNAL signal.wsrep_apply_cb";
SET DEBUG_SYNC = "now SIGNAL continue";
SET DEBUG_SYNC = "RESET";
connection node_1;
connection node_1_flush_thd;
connection node_2;
DROP TABLE t1;
mysql-test/suite/galera/t/MDEV-22707.test
deleted
100644 → 0
View file @
eb38e7ef
#
# MDEV-22707 galera got stuck after flush tables
#
--
source
include
/
galera_cluster
.
inc
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_debug
.
inc
--
source
include
/
have_debug_sync
.
inc
CREATE
TABLE
t1
(
f2
INT
)
ENGINE
=
InnoDB
;
--
connect
node_1_applier_thd
,
127.0
.
0.1
,
root
,
,
test
,
$NODE_MYPORT_1
SET
GLOBAL
debug_dbug
=
"+d,sync.wsrep_apply_cb"
;
--
connection
node_2
SET
SESSION
wsrep_sync_wait
=
0
;
--
send
INSERT
INTO
t1
(
f2
)
VALUES
(
2
)
--
connection
node_1_applier_thd
# Wait for `sync.wsrep_apply_cb_reached` signal
SET
SESSION
DEBUG_SYNC
=
"now WAIT_FOR sync.wsrep_apply_cb_reached"
;
--
connection
node_1
SET
SESSION
wsrep_sync_wait
=
0
;
SET
DEBUG_SYNC
=
'wsrep_before_replication SIGNAL wsrep_before_replication_reached WAIT_FOR continue'
;
--
send
INSERT
INTO
t1
(
f2
)
VALUES
(
1
)
--
connect
node_1_flush_thd
,
127.0
.
0.1
,
root
,
,
test
,
$NODE_MYPORT_1
SET
DEBUG_SYNC
=
"now WAIT_FOR wsrep_before_replication_reached"
;
SET
GLOBAL
debug_dbug
=
"+d,sync.wsrep_before_mdl_wait"
;
--
send
FLUSH
TABLES
--
connect
node_1_sync_release_thd
,
127.0
.
0.1
,
root
,
,
test
,
$NODE_MYPORT_1
# First clear all DBUG points
SET
GLOBAL
debug_dbug
=
""
;
# Now signal threads to continue execution
SET
DEBUG_SYNC
=
"now SIGNAL signal.wsrep_before_mdl_wait"
;
SET
DEBUG_SYNC
=
"now SIGNAL signal.wsrep_apply_cb"
;
SET
DEBUG_SYNC
=
"now SIGNAL continue"
;
SET
DEBUG_SYNC
=
"RESET"
;
--
connection
node_1
--
reap
--
connection
node_1_flush_thd
--
reap
--
connection
node_2
--
reap
DROP
TABLE
t1
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment