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
ba23e6d7
Commit
ba23e6d7
authored
Jul 23, 2020
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-18177 : Galera test failure on galera_autoinc_sst_mariabackup
Add wait_condition
parent
b3b1c51e
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
0 deletions
+29
-0
mysql-test/suite/galera/include/galera_st_clean_slave.inc
mysql-test/suite/galera/include/galera_st_clean_slave.inc
+6
-0
mysql-test/suite/galera/include/galera_st_disconnect_slave.inc
...-test/suite/galera/include/galera_st_disconnect_slave.inc
+6
-0
mysql-test/suite/galera/include/galera_st_kill_slave.inc
mysql-test/suite/galera/include/galera_st_kill_slave.inc
+6
-0
mysql-test/suite/galera/include/galera_st_kill_slave_ddl.inc
mysql-test/suite/galera/include/galera_st_kill_slave_ddl.inc
+5
-0
mysql-test/suite/galera/include/galera_st_shutdown_slave.inc
mysql-test/suite/galera/include/galera_st_shutdown_slave.inc
+6
-0
No files found.
mysql-test/suite/galera/include/galera_st_clean_slave.inc
View file @
ba23e6d7
...
@@ -102,12 +102,18 @@ INSERT INTO t1 VALUES ('node1_to_be_rollbacked_after');
...
@@ -102,12 +102,18 @@ INSERT INTO t1 VALUES ('node1_to_be_rollbacked_after');
INSERT
INTO
t1
VALUES
(
'node1_to_be_rollbacked_after'
);
INSERT
INTO
t1
VALUES
(
'node1_to_be_rollbacked_after'
);
ROLLBACK
;
ROLLBACK
;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
35
FROM
t1
--
source
include
/
wait_condition
.
inc
SELECT
COUNT
(
*
)
=
35
FROM
t1
;
SELECT
COUNT
(
*
)
=
35
FROM
t1
;
SELECT
COUNT
(
*
)
=
0
FROM
(
SELECT
COUNT
(
*
)
AS
c
,
f1
FROM
t1
GROUP
BY
f1
HAVING
c
NOT
IN
(
5
,
10
))
AS
a1
;
SELECT
COUNT
(
*
)
=
0
FROM
(
SELECT
COUNT
(
*
)
AS
c
,
f1
FROM
t1
GROUP
BY
f1
HAVING
c
NOT
IN
(
5
,
10
))
AS
a1
;
COMMIT
;
COMMIT
;
SET
AUTOCOMMIT
=
ON
;
SET
AUTOCOMMIT
=
ON
;
--
connection
node_1
--
connection
node_1
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
35
FROM
t1
--
source
include
/
wait_condition
.
inc
SELECT
COUNT
(
*
)
=
35
FROM
t1
;
SELECT
COUNT
(
*
)
=
35
FROM
t1
;
SELECT
COUNT
(
*
)
=
0
FROM
(
SELECT
COUNT
(
*
)
AS
c
,
f1
FROM
t1
GROUP
BY
f1
HAVING
c
NOT
IN
(
5
,
10
))
AS
a1
;
SELECT
COUNT
(
*
)
=
0
FROM
(
SELECT
COUNT
(
*
)
AS
c
,
f1
FROM
t1
GROUP
BY
f1
HAVING
c
NOT
IN
(
5
,
10
))
AS
a1
;
DROP
TABLE
t1
;
DROP
TABLE
t1
;
...
...
mysql-test/suite/galera/include/galera_st_disconnect_slave.inc
View file @
ba23e6d7
...
@@ -92,12 +92,18 @@ INSERT INTO t1 VALUES ('node1_to_be_rollbacked_after');
...
@@ -92,12 +92,18 @@ INSERT INTO t1 VALUES ('node1_to_be_rollbacked_after');
INSERT
INTO
t1
VALUES
(
'node1_to_be_rollbacked_after'
);
INSERT
INTO
t1
VALUES
(
'node1_to_be_rollbacked_after'
);
ROLLBACK
;
ROLLBACK
;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
35
FROM
t1
--
source
include
/
wait_condition
.
inc
SELECT
COUNT
(
*
)
=
35
FROM
t1
;
SELECT
COUNT
(
*
)
=
35
FROM
t1
;
SELECT
COUNT
(
*
)
=
0
FROM
(
SELECT
COUNT
(
*
)
AS
c
,
f1
FROM
t1
GROUP
BY
f1
HAVING
c
NOT
IN
(
5
,
10
))
AS
a1
;
SELECT
COUNT
(
*
)
=
0
FROM
(
SELECT
COUNT
(
*
)
AS
c
,
f1
FROM
t1
GROUP
BY
f1
HAVING
c
NOT
IN
(
5
,
10
))
AS
a1
;
COMMIT
;
COMMIT
;
SET
AUTOCOMMIT
=
ON
;
SET
AUTOCOMMIT
=
ON
;
--
connection
node_1
--
connection
node_1
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
35
FROM
t1
--
source
include
/
wait_condition
.
inc
SELECT
COUNT
(
*
)
=
35
FROM
t1
;
SELECT
COUNT
(
*
)
=
35
FROM
t1
;
SELECT
COUNT
(
*
)
=
0
FROM
(
SELECT
COUNT
(
*
)
AS
c
,
f1
FROM
t1
GROUP
BY
f1
HAVING
c
NOT
IN
(
5
,
10
))
AS
a1
;
SELECT
COUNT
(
*
)
=
0
FROM
(
SELECT
COUNT
(
*
)
AS
c
,
f1
FROM
t1
GROUP
BY
f1
HAVING
c
NOT
IN
(
5
,
10
))
AS
a1
;
DROP
TABLE
t1
;
DROP
TABLE
t1
;
...
...
mysql-test/suite/galera/include/galera_st_kill_slave.inc
View file @
ba23e6d7
...
@@ -96,12 +96,18 @@ INSERT INTO t1 VALUES ('node1_to_be_rollbacked_after');
...
@@ -96,12 +96,18 @@ INSERT INTO t1 VALUES ('node1_to_be_rollbacked_after');
INSERT
INTO
t1
VALUES
(
'node1_to_be_rollbacked_after'
);
INSERT
INTO
t1
VALUES
(
'node1_to_be_rollbacked_after'
);
ROLLBACK
;
ROLLBACK
;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
35
FROM
t1
--
source
include
/
wait_condition
.
inc
SELECT
COUNT
(
*
)
=
35
FROM
t1
;
SELECT
COUNT
(
*
)
=
35
FROM
t1
;
SELECT
COUNT
(
*
)
=
0
FROM
(
SELECT
COUNT
(
*
)
AS
c
,
f1
FROM
t1
GROUP
BY
f1
HAVING
c
NOT
IN
(
5
,
10
))
AS
a1
;
SELECT
COUNT
(
*
)
=
0
FROM
(
SELECT
COUNT
(
*
)
AS
c
,
f1
FROM
t1
GROUP
BY
f1
HAVING
c
NOT
IN
(
5
,
10
))
AS
a1
;
COMMIT
;
COMMIT
;
SET
AUTOCOMMIT
=
ON
;
SET
AUTOCOMMIT
=
ON
;
--
connection
node_1
--
connection
node_1
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
35
FROM
t1
--
source
include
/
wait_condition
.
inc
SELECT
COUNT
(
*
)
=
35
FROM
t1
;
SELECT
COUNT
(
*
)
=
35
FROM
t1
;
SELECT
COUNT
(
*
)
=
0
FROM
(
SELECT
COUNT
(
*
)
AS
c
,
f1
FROM
t1
GROUP
BY
f1
HAVING
c
NOT
IN
(
5
,
10
))
AS
a1
;
SELECT
COUNT
(
*
)
=
0
FROM
(
SELECT
COUNT
(
*
)
AS
c
,
f1
FROM
t1
GROUP
BY
f1
HAVING
c
NOT
IN
(
5
,
10
))
AS
a1
;
DROP
TABLE
t1
;
DROP
TABLE
t1
;
...
...
mysql-test/suite/galera/include/galera_st_kill_slave_ddl.inc
View file @
ba23e6d7
...
@@ -110,6 +110,9 @@ INSERT INTO t1 (f1) VALUES ('node1_to_be_rollbacked_after');
...
@@ -110,6 +110,9 @@ INSERT INTO t1 (f1) VALUES ('node1_to_be_rollbacked_after');
INSERT
INTO
t1
(
f1
)
VALUES
(
'node1_to_be_rollbacked_after'
);
INSERT
INTO
t1
(
f1
)
VALUES
(
'node1_to_be_rollbacked_after'
);
ROLLBACK
;
ROLLBACK
;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
35
FROM
t1
--
source
include
/
wait_condition
.
inc
SELECT
COUNT
(
*
)
=
2
FROM
INFORMATION_SCHEMA
.
COLUMNS
WHERE
TABLE_NAME
=
't1'
;
SELECT
COUNT
(
*
)
=
2
FROM
INFORMATION_SCHEMA
.
COLUMNS
WHERE
TABLE_NAME
=
't1'
;
SELECT
COUNT
(
*
)
=
35
FROM
t1
;
SELECT
COUNT
(
*
)
=
35
FROM
t1
;
SELECT
COUNT
(
*
)
=
0
FROM
(
SELECT
COUNT
(
*
)
AS
c
,
f1
FROM
t1
GROUP
BY
f1
HAVING
c
NOT
IN
(
5
,
10
))
AS
a1
;
SELECT
COUNT
(
*
)
=
0
FROM
(
SELECT
COUNT
(
*
)
AS
c
,
f1
FROM
t1
GROUP
BY
f1
HAVING
c
NOT
IN
(
5
,
10
))
AS
a1
;
...
@@ -117,6 +120,8 @@ COMMIT;
...
@@ -117,6 +120,8 @@ COMMIT;
SET
AUTOCOMMIT
=
ON
;
SET
AUTOCOMMIT
=
ON
;
--
connection
node_1
--
connection
node_1
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
35
FROM
t1
--
source
include
/
wait_condition
.
inc
SELECT
COUNT
(
*
)
=
2
FROM
INFORMATION_SCHEMA
.
COLUMNS
WHERE
TABLE_NAME
=
't1'
;
SELECT
COUNT
(
*
)
=
2
FROM
INFORMATION_SCHEMA
.
COLUMNS
WHERE
TABLE_NAME
=
't1'
;
SELECT
COUNT
(
*
)
=
35
FROM
t1
;
SELECT
COUNT
(
*
)
=
35
FROM
t1
;
SELECT
COUNT
(
*
)
=
0
FROM
(
SELECT
COUNT
(
*
)
AS
c
,
f1
FROM
t1
GROUP
BY
f1
HAVING
c
NOT
IN
(
5
,
10
))
AS
a1
;
SELECT
COUNT
(
*
)
=
0
FROM
(
SELECT
COUNT
(
*
)
AS
c
,
f1
FROM
t1
GROUP
BY
f1
HAVING
c
NOT
IN
(
5
,
10
))
AS
a1
;
...
...
mysql-test/suite/galera/include/galera_st_shutdown_slave.inc
View file @
ba23e6d7
...
@@ -97,12 +97,18 @@ INSERT INTO t1 VALUES ('node1_to_be_rollbacked_after');
...
@@ -97,12 +97,18 @@ INSERT INTO t1 VALUES ('node1_to_be_rollbacked_after');
INSERT
INTO
t1
VALUES
(
'node1_to_be_rollbacked_after'
);
INSERT
INTO
t1
VALUES
(
'node1_to_be_rollbacked_after'
);
ROLLBACK
;
ROLLBACK
;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
35
FROM
t1
--
source
include
/
wait_condition
.
inc
SELECT
COUNT
(
*
)
=
35
FROM
t1
;
SELECT
COUNT
(
*
)
=
35
FROM
t1
;
SELECT
COUNT
(
*
)
=
0
FROM
(
SELECT
COUNT
(
*
)
AS
c
,
f1
FROM
t1
GROUP
BY
f1
HAVING
c
NOT
IN
(
5
,
10
))
AS
a1
;
SELECT
COUNT
(
*
)
=
0
FROM
(
SELECT
COUNT
(
*
)
AS
c
,
f1
FROM
t1
GROUP
BY
f1
HAVING
c
NOT
IN
(
5
,
10
))
AS
a1
;
COMMIT
;
COMMIT
;
SET
AUTOCOMMIT
=
ON
;
SET
AUTOCOMMIT
=
ON
;
--
connection
node_1
--
connection
node_1
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
35
FROM
t1
--
source
include
/
wait_condition
.
inc
SELECT
COUNT
(
*
)
=
35
FROM
t1
;
SELECT
COUNT
(
*
)
=
35
FROM
t1
;
SELECT
COUNT
(
*
)
=
0
FROM
(
SELECT
COUNT
(
*
)
AS
c
,
f1
FROM
t1
GROUP
BY
f1
HAVING
c
NOT
IN
(
5
,
10
))
AS
a1
;
SELECT
COUNT
(
*
)
=
0
FROM
(
SELECT
COUNT
(
*
)
AS
c
,
f1
FROM
t1
GROUP
BY
f1
HAVING
c
NOT
IN
(
5
,
10
))
AS
a1
;
DROP
TABLE
t1
;
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