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
85b9718b
Commit
85b9718b
authored
Jul 13, 2016
by
Philip Stoev
Committed by
Nirbhay Choubey
Aug 21, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Galera MTR Tests: Test case for galera#414 - crash on shutdown with gcs.max_packet_size=2
parent
ea3ff730
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
0 deletions
+45
-0
mysql-test/suite/galera/r/galera#414.result
mysql-test/suite/galera/r/galera#414.result
+5
-0
mysql-test/suite/galera/t/galera#414.cnf
mysql-test/suite/galera/t/galera#414.cnf
+8
-0
mysql-test/suite/galera/t/galera#414.test
mysql-test/suite/galera/t/galera#414.test
+32
-0
No files found.
mysql-test/suite/galera/r/galera#414.result
0 → 100644
View file @
85b9718b
SET SESSION wsrep_sync_wait = 0;
SET SESSION wsrep_on = OFF;
SET SESSION wsrep_on = ON;
CALL mtr.add_suppression("Failed to set packet size");
CALL mtr.add_suppression("Failed to set packet size");
mysql-test/suite/galera/t/galera#414.cnf
0 → 100644
View file @
85b9718b
!include ../galera_2nodes.cnf
[mysqld.1]
wsrep_provider_options='base_port=@mysqld.1.#galera_port;gcs.max_packet_size=2'
[mysqld.2]
wsrep_provider_options='base_port=@mysqld.2.#galera_port;gcs.max_packet_size=2'
mysql-test/suite/galera/t/galera#414.test
0 → 100644
View file @
85b9718b
#
# codership/galera#414 Shutdown crashes node if the node started with `gcs.max_packet_size=2`
#
--
source
include
/
big_test
.
inc
--
source
include
/
galera_cluster
.
inc
# We perform the shutdown/restart sequence in here. If there was a crash during shutdown, MTR will detect it
--
connection
node_2
--
source
include
/
shutdown_mysqld
.
inc
--
connection
node_1
SET
SESSION
wsrep_sync_wait
=
0
;
SET
SESSION
wsrep_on
=
OFF
;
--
let
$wait_condition
=
SELECT
VARIABLE_VALUE
=
1
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_cluster_size'
;
--
source
include
/
wait_condition
.
inc
--
connection
node_2
--
source
include
/
start_mysqld
.
inc
--
connection
node_1
SET
SESSION
wsrep_on
=
ON
;
--
let
$wait_condition
=
SELECT
VARIABLE_VALUE
=
2
FROM
INFORMATION_SCHEMA
.
GLOBAL_STATUS
WHERE
VARIABLE_NAME
=
'wsrep_cluster_size'
;
--
source
include
/
wait_condition
.
inc
--
connection
node_1
CALL
mtr
.
add_suppression
(
"Failed to set packet size"
);
--
connection
node_2
CALL
mtr
.
add_suppression
(
"Failed to set packet size"
);
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