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
e2e1483d
Commit
e2e1483d
authored
Apr 05, 2018
by
Jan Lindström
Committed by
GitHub
Apr 05, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #675 from codership/MDEV-13549-fixes-for-MW-284
MDEV-13549 Fix and re-enable MTR test galera.MW-284
parents
87d76301
45eca617
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
4 deletions
+15
-4
mysql-test/suite/galera/disabled.def
mysql-test/suite/galera/disabled.def
+0
-1
mysql-test/suite/galera/r/MW-284.result
mysql-test/suite/galera/r/MW-284.result
+3
-0
mysql-test/suite/galera/t/MW-284.test
mysql-test/suite/galera/t/MW-284.test
+8
-1
sql/sql_parse.cc
sql/sql_parse.cc
+4
-2
No files found.
mysql-test/suite/galera/disabled.def
View file @
e2e1483d
...
@@ -40,7 +40,6 @@ galera_parallel_simple : MDEV-13549 Galera test failures
...
@@ -40,7 +40,6 @@ galera_parallel_simple : MDEV-13549 Galera test failures
galera_admin : MDEV-13549 Galera test failures
galera_admin : MDEV-13549 Galera test failures
galera_pc_ignore_sb : MDEV-13549 Galera test failures 10.1
galera_pc_ignore_sb : MDEV-13549 Galera test failures 10.1
galera_lock_table : MDEV-13549 Galera test failures 10.1
galera_lock_table : MDEV-13549 Galera test failures 10.1
MW-284 : MDEV-13549 Galera test failures 10.1
galera_gtid : MDEV-13549 Galera test failures 10.1
galera_gtid : MDEV-13549 Galera test failures 10.1
galera_unicode_identifiers : MDEV-13549 Galera test failures 10.1
galera_unicode_identifiers : MDEV-13549 Galera test failures 10.1
galera.galera_gcs_fc_limit : MDEV-13549 Galera test failures 10.1
galera.galera_gcs_fc_limit : MDEV-13549 Galera test failures 10.1
...
...
mysql-test/suite/galera/r/MW-284.result
View file @
e2e1483d
...
@@ -14,3 +14,6 @@ STOP SLAVE;
...
@@ -14,3 +14,6 @@ STOP SLAVE;
RESET SLAVE ALL;
RESET SLAVE ALL;
CALL mtr.add_suppression('failed registering on master');
CALL mtr.add_suppression('failed registering on master');
CALL mtr.add_suppression('You need to use --log-bin to make --binlog-format work');
CALL mtr.add_suppression('You need to use --log-bin to make --binlog-format work');
RESET MASTER;
CALL mtr.add_suppression('WSREP: Last Applied Action message in non-primary configuration from member');
CALL mtr.add_suppression('WSREP: Last Applied Action message in non-primary configuration from member');
mysql-test/suite/galera/t/MW-284.test
View file @
e2e1483d
...
@@ -24,7 +24,6 @@ SET global wsrep_sync_wait=0;
...
@@ -24,7 +24,6 @@ SET global wsrep_sync_wait=0;
--
connection
node_3
--
connection
node_3
START
SLAVE
;
START
SLAVE
;
--
sleep
1
--
let
$slave_param
=
Slave_IO_Running
--
let
$slave_param
=
Slave_IO_Running
--
let
$slave_param_value
=
Connecting
--
let
$slave_param_value
=
Connecting
--
source
include
/
wait_for_slave_param
.
inc
--
source
include
/
wait_for_slave_param
.
inc
...
@@ -38,6 +37,7 @@ SET GLOBAL wsrep_provider_options='gmcast.isolate=0';
...
@@ -38,6 +37,7 @@ SET GLOBAL wsrep_provider_options='gmcast.isolate=0';
--
source
include
/
wait_for_slave_to_start
.
inc
--
source
include
/
wait_for_slave_to_start
.
inc
--
connection
node_1
--
connection
node_1
--
source
include
/
galera_wait_ready
.
inc
INSERT
INTO
t1
VALUES
(
1
);
INSERT
INTO
t1
VALUES
(
1
);
--
connection
node_3
--
connection
node_3
...
@@ -61,3 +61,10 @@ RESET SLAVE ALL;
...
@@ -61,3 +61,10 @@ RESET SLAVE ALL;
CALL
mtr
.
add_suppression
(
'failed registering on master'
);
CALL
mtr
.
add_suppression
(
'failed registering on master'
);
CALL
mtr
.
add_suppression
(
'You need to use --log-bin to make --binlog-format work'
);
CALL
mtr
.
add_suppression
(
'You need to use --log-bin to make --binlog-format work'
);
--
connection
node_1
RESET
MASTER
;
CALL
mtr
.
add_suppression
(
'WSREP: Last Applied Action message in non-primary configuration from member'
);
--
connection
node_2
CALL
mtr
.
add_suppression
(
'WSREP: Last Applied Action message in non-primary configuration from member'
);
\ No newline at end of file
sql/sql_parse.cc
View file @
e2e1483d
...
@@ -1094,9 +1094,11 @@ bool do_command(THD *thd)
...
@@ -1094,9 +1094,11 @@ bool do_command(THD *thd)
Bail out if DB snapshot has not been installed.
Bail out if DB snapshot has not been installed.
*/
*/
if
(
!
thd
->
wsrep_applier
&&
if
(
!
thd
->
wsrep_applier
&&
(
!
wsrep_ready
||
wsrep_reject_queries
!=
WSREP_REJECT_NONE
)
&&
(
!
wsrep_ready
||
wsrep_reject_queries
!=
WSREP_REJECT_NONE
)
&&
(
server_command_flags
[
command
]
&
CF_SKIP_WSREP_CHECK
)
==
0
)
(
server_command_flags
[
command
]
&
CF_SKIP_WSREP_CHECK
)
==
0
)
{
{
my_message
(
ER_UNKNOWN_COM_ERROR
,
"WSREP has not yet prepared node for application use"
,
MYF
(
0
));
thd
->
protocol
->
end_statement
();
thd
->
protocol
->
end_statement
();
/* Performance Schema Interface instrumentation end. */
/* Performance Schema Interface instrumentation end. */
...
...
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