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
d24060b1
Commit
d24060b1
authored
Jan 23, 2019
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-17421: mtr does not restart the server whose parameters were changed
remove tests that rely on specific execution order
parent
7886a70e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
50 deletions
+0
-50
mysql-test/suite/galera/r/galera_mtr_restart_t1.result
mysql-test/suite/galera/r/galera_mtr_restart_t1.result
+0
-1
mysql-test/suite/galera/r/galera_mtr_restart_t2.result
mysql-test/suite/galera/r/galera_mtr_restart_t2.result
+0
-1
mysql-test/suite/galera/t/galera_mtr_restart_t1.test
mysql-test/suite/galera/t/galera_mtr_restart_t1.test
+0
-35
mysql-test/suite/galera/t/galera_mtr_restart_t2.test
mysql-test/suite/galera/t/galera_mtr_restart_t2.test
+0
-13
No files found.
mysql-test/suite/galera/r/galera_mtr_restart_t1.result
deleted
100644 → 0
View file @
7886a70e
weight=111
mysql-test/suite/galera/r/galera_mtr_restart_t2.result
deleted
100644 → 0
View file @
7886a70e
weight=1
mysql-test/suite/galera/t/galera_mtr_restart_t1.test
deleted
100644 → 0
View file @
7886a70e
# This test verifies that mtr will restart the mysqld process,
# whose parameters were changed during the test. The verification
# itself is carried out in the following galera_mtr_restart_t2
# test. If mtr restart the mysqld process, then the pc.weight
# value will be reset to the default ("1"), but if there is no
# restart, then we will see the changed value ("111") during
# the next test.
#
--
source
include
/
galera_cluster
.
inc
--
source
include
/
have_innodb
.
inc
# Save original auto_increment_offset values.
--
let
$node_1
=
node_1
--
let
$node_2
=
node_2
--
source
include
/
auto_increment_offset_save
.
inc
--
connection
node_2
--
let
$restart_parameters
=
--
wsrep_provider_options
=
pc
.
weight
=
111
;
repl
.
causal_read_timeout
=
PT90S
;
evs
.
suspect_timeout
=
PT10S
;
evs
.
inactive_timeout
=
PT30S
;
evs
.
install_timeout
=
PT15S
--
source
include
/
restart_mysqld
.
inc
--
connection
node_1
--
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_2
--
source
include
/
wait_until_ready
.
inc
# Check that the parameter value really changed:
--
let
$gp
=
`SELECT SUBSTR(@@wsrep_provider_options, LOCATE('pc.weight =', @@wsrep_provider_options) + LENGTH('pc.weight = '))`
--
let
$weight
=
`SELECT SUBSTR('$gp', 1, LOCATE(';', '$gp') - 1)`
--
echo
weight
=
$weight
# Restore original auto_increment_offset values.
--
connection
node_1
--
source
include
/
auto_increment_offset_restore
.
inc
mysql-test/suite/galera/t/galera_mtr_restart_t2.test
deleted
100644 → 0
View file @
7886a70e
# This test verifies that mtr will restart the mysqld process,
# whose parameters were changed during the previous test. If mtr
# restart the mysqld process, then the pc.weight value will be
# reset to the default ("1"), but if there is no restart, then
# we will see the changed value ("111") in this test.
#
--
source
include
/
galera_cluster
.
inc
--
source
include
/
have_innodb
.
inc
--
connection
node_2
--
let
$gp
=
`SELECT SUBSTR(@@wsrep_provider_options, LOCATE('pc.weight =', @@wsrep_provider_options) + LENGTH('pc.weight = '))`
--
let
$weight
=
`SELECT SUBSTR('$gp', 1, LOCATE(';', '$gp') - 1)`
--
echo
weight
=
$weight
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