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
2a98d0b5
Commit
2a98d0b5
authored
Sep 14, 2019
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #2 for galera.MW-336
parent
23657a21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
mysql-test/suite/galera/t/MW-336.test
mysql-test/suite/galera/t/MW-336.test
+3
-2
No files found.
mysql-test/suite/galera/t/MW-336.test
View file @
2a98d0b5
...
...
@@ -25,9 +25,10 @@ INSERT INTO t1 VALUES (1);
--
connection
node_1
SET
GLOBAL
wsrep_slave_threads
=
10
;
# Note that above insert could be handled by one of the slave threads
--
echo
# Set slave threads to 10 step 2
--
let
$wait_condition
=
SELECT
VARIABLE_VALUE
=
10
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_applier_thread_count'
;
--
let
$wait_condition_on_error_output
=
SELECT
COUNT
(
*
),
10
as
EXPECTED_VALUE
FROM
INFORMATION_SCHEMA
.
PROCESSLIST
WHERE
USER
=
'system user'
AND
STATE
=
'wsrep applier idle'
;
show
processlist
--
let
$wait_condition
=
SELECT
VARIABLE_VALUE
>=
9
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_applier_thread_count'
;
--
let
$wait_condition_on_error_output
=
SELECT
COUNT
(
*
),
9
as
EXPECTED_VALUE
FROM
INFORMATION_SCHEMA
.
PROCESSLIST
WHERE
USER
=
'system user'
AND
STATE
=
'wsrep applier idle'
;
show
processlist
--
source
include
/
wait_condition_with_debug
.
inc
SET
GLOBAL
wsrep_slave_threads
=
20
;
...
...
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