Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-21198 : Galera test failure on galera_var_notify_cmd
Add proper wsrep sync wait.
- Loading branch information
Jan Lindström
committed
Dec 3, 2019
1 parent
3ff8fb5
commit 88073da
Showing
2 changed files
with
13 additions
and
12 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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
connection node_1; | ||
SELECT COUNT(DISTINCT uuid) = 2 FROM mtr_wsrep_notify.membership; | ||
COUNT(DISTINCT uuid) = 2 | ||
SET SESSION wsrep_sync_wait=15; | ||
SELECT COUNT(DISTINCT uuid) FROM mtr_wsrep_notify.membership; | ||
COUNT(DISTINCT uuid) | ||
2 | ||
SELECT MAX(size) FROM mtr_wsrep_notify.status; | ||
MAX(size) | ||
2 | ||
SELECT COUNT(DISTINCT idx) FROM mtr_wsrep_notify.status; | ||
COUNT(DISTINCT idx) | ||
1 | ||
SELECT MAX(size) = 2 FROM mtr_wsrep_notify.status; | ||
MAX(size) = 2 | ||
1 | ||
SELECT COUNT(DISTINCT idx) = 2 FROM mtr_wsrep_notify.status; | ||
COUNT(DISTINCT idx) = 2 | ||
0 |
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