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
79086a52
Commit
79086a52
authored
Jan 13, 2021
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-24010 : galera_3nodes.GCF-354 MTR fails : WSREP has not yet prepared node for application use
Correct test.
parent
8de233af
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
mysql-test/suite/galera_3nodes/disabled.def
mysql-test/suite/galera_3nodes/disabled.def
+0
-1
mysql-test/suite/galera_3nodes/r/GCF-354.result
mysql-test/suite/galera_3nodes/r/GCF-354.result
+4
-3
mysql-test/suite/galera_3nodes/t/GCF-354.test
mysql-test/suite/galera_3nodes/t/GCF-354.test
+4
-3
No files found.
mysql-test/suite/galera_3nodes/disabled.def
View file @
79086a52
...
...
@@ -10,7 +10,6 @@
#
##############################################################################
GCF-354 : MDEV-24010 galera_3nodes.GCF-354 MTR fails : WSREP has not yet prepared node for application use
galera_gtid_2_cluster : MDEV-23775 Galera test failure on galera_3nodes.galera_gtid_2_cluster
galera_ist_gcache_rollover : MDEV-23578 WSREP: exception caused by message: {v=0,t=1,ut=255,o=4,s=0,sr=0,as=1,f=6,src=50524cfe,srcvid=view_id(REG,50524cfe,4),insvid=view_id(UNKNOWN,00000000,0),ru=00000000,r=[-1,-1],fs=75,nl=(}
galera_slave_options_do :MDEV-8798
...
...
mysql-test/suite/galera_3nodes/r/GCF-354.result
View file @
79086a52
...
...
@@ -6,13 +6,14 @@ connection node_1;
connection node_2;
connection node_3;
connection node_2;
SET wsrep_on=OFF;
SET
SESSION
wsrep_on=OFF;
DROP SCHEMA test;
connection node_3;
SET SESSION wsrep_on=OFF;
CREATE TABLE test.t1 (f1 INTEGER) engine=innodb;
CREATE TABLE test.t1 (f1 INTEGER
NOT NULL PRIMARY KEY
) engine=innodb;
connection node_1;
CREATE TABLE test.t1 (f1 INTEGER) engine=innodb;
CREATE TABLE test.t1 (f1 INTEGER NOT NULL PRIMARY KEY) engine=innodb;
INSERT INTO test.t1 values (1);
SHOW STATUS LIKE 'wsrep_cluster_status';
Variable_name Value
wsrep_cluster_status Primary
...
...
mysql-test/suite/galera_3nodes/t/GCF-354.test
View file @
79086a52
...
...
@@ -14,19 +14,20 @@
# 1. Create different inconsistencies on nodes 2 and 3
#
--
connection
node_2
SET
wsrep_on
=
OFF
;
SET
SESSION
wsrep_on
=
OFF
;
DROP
SCHEMA
test
;
--
connection
node_3
SET
SESSION
wsrep_on
=
OFF
;
CREATE
TABLE
test
.
t1
(
f1
INTEGER
)
engine
=
innodb
;
CREATE
TABLE
test
.
t1
(
f1
INTEGER
NOT
NULL
PRIMARY
KEY
)
engine
=
innodb
;
#
# 2. The following should generate different errors on nodes 2 and 3 and
# trigger voting with 3 different votes. node_1 should remain alone
# in the cluster.
#
--
connection
node_1
CREATE
TABLE
test
.
t1
(
f1
INTEGER
)
engine
=
innodb
;
CREATE
TABLE
test
.
t1
(
f1
INTEGER
NOT
NULL
PRIMARY
KEY
)
engine
=
innodb
;
INSERT
INTO
test
.
t1
values
(
1
);
--
let
$wait_condition
=
SELECT
VARIABLE_VALUE
=
1
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_cluster_size'
--
source
include
/
wait_condition
.
inc
...
...
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