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
83579c2f
Commit
83579c2f
authored
Jul 10, 2015
by
Philip Stoev
Committed by
Nirbhay Choubey
Sep 09, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Galera MTR Tests: fixes for mysqldump SST/IST tests
parent
10f5c08f
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
18 additions
and
16 deletions
+18
-16
mysql-test/suite/galera/include/galera_sst_set_mysqldump.inc
mysql-test/suite/galera/include/galera_sst_set_mysqldump.inc
+3
-2
mysql-test/suite/galera/include/kill_galera.inc
mysql-test/suite/galera/include/kill_galera.inc
+1
-0
mysql-test/suite/galera/r/galera_ist_mysqldump.result
mysql-test/suite/galera/r/galera_ist_mysqldump.result
+2
-2
mysql-test/suite/galera/r/galera_migrate.result
mysql-test/suite/galera/r/galera_migrate.result
+3
-3
mysql-test/suite/galera/r/galera_sst_mysqldump.result
mysql-test/suite/galera/r/galera_sst_mysqldump.result
+2
-2
mysql-test/suite/galera/r/galera_sst_mysqldump_with_key.result
...-test/suite/galera/r/galera_sst_mysqldump_with_key.result
+2
-2
mysql-test/suite/galera/r/mysql-wsrep#33.result
mysql-test/suite/galera/r/mysql-wsrep#33.result
+2
-2
mysql-test/suite/galera/t/galera_migrate.test
mysql-test/suite/galera/t/galera_migrate.test
+3
-3
No files found.
mysql-test/suite/galera/include/galera_sst_set_mysqldump.inc
View file @
83579c2f
...
...
@@ -6,12 +6,13 @@
--
connection
node_1
# We need a user with a password to perform SST, otherwise we hit LP #1378253
GRANT
ALL
PRIVILEGES
ON
*.*
TO
'sst'
IDENTIFIED
BY
'sst'
;
GRANT
ALL
PRIVILEGES
ON
*.*
TO
'sst'
;
--
let
$wsrep_sst_auth_orig
=
`SELECT @@wsrep_sst_auth`
SET
GLOBAL
wsrep_sst_auth
=
'sst:
sst
'
;
SET
GLOBAL
wsrep_sst_auth
=
'sst:'
;
--
connection
node_2
--
source
include
/
wait_until_connected_again
.
inc
--
let
$wsrep_sst_method_orig
=
`SELECT @@wsrep_sst_method`
--
let
$wsrep_sst_receive_address_orig
=
`SELECT @@wsrep_sst_receive_address`
...
...
mysql-test/suite/galera/include/kill_galera.inc
View file @
83579c2f
--
echo
Killing
server
...
# Write file to make mysql-test-run.pl expect the crash, but don't start it
--
source
include
/
wait_until_connected_again
.
inc
--
let
$_server_id
=
`SELECT @@server_id`
--
let
$_expect_file_name
=
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
$_server_id
.
expect
--
exec
echo
"wait"
>
$_expect_file_name
...
...
mysql-test/suite/galera/r/galera_ist_mysqldump.result
View file @
83579c2f
Setting SST method to mysqldump ...
GRANT ALL PRIVILEGES ON *.* TO 'sst'
IDENTIFIED BY 'sst'
;
SET GLOBAL wsrep_sst_auth = 'sst:
sst
';
GRANT ALL PRIVILEGES ON *.* TO 'sst';
SET GLOBAL wsrep_sst_auth = 'sst:';
SET GLOBAL wsrep_sst_method = 'mysqldump';
Performing State Transfer on a server that has been shut down cleanly and restarted
CREATE TABLE t1 (f1 CHAR(255)) ENGINE=InnoDB;
...
...
mysql-test/suite/galera/r/galera_migrate.result
View file @
83579c2f
...
...
@@ -21,9 +21,9 @@ SELECT VARIABLE_VALUE = 1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_N
VARIABLE_VALUE = 1
1
INSERT INTO t1 VALUES (6);
GRANT ALL PRIVILEGES ON *.* TO 'sst'
IDENTIFIED BY 'sst'
;
SET GLOBAL wsrep_sst_auth = 'sst:
sst
';
GRANT ALL PRIVILEGES ON *.* TO 'sst'
IDENTIFIED BY 'sst'
;
GRANT ALL PRIVILEGES ON *.* TO 'sst';
SET GLOBAL wsrep_sst_auth = 'sst:';
GRANT ALL PRIVILEGES ON *.* TO 'sst';
SELECT VARIABLE_VALUE = 'Synced' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_local_state_comment';
VARIABLE_VALUE = 'Synced'
1
...
...
mysql-test/suite/galera/r/galera_sst_mysqldump.result
View file @
83579c2f
Setting SST method to mysqldump ...
GRANT ALL PRIVILEGES ON *.* TO 'sst'
IDENTIFIED BY 'sst'
;
SET GLOBAL wsrep_sst_auth = 'sst:
sst
';
GRANT ALL PRIVILEGES ON *.* TO 'sst';
SET GLOBAL wsrep_sst_auth = 'sst:';
SET GLOBAL wsrep_sst_method = 'mysqldump';
Performing State Transfer on a server that has been temporarily disconnected
CREATE TABLE t1 (f1 CHAR(255)) ENGINE=InnoDB;
...
...
mysql-test/suite/galera/r/galera_sst_mysqldump_with_key.result
View file @
83579c2f
Setting SST method to mysqldump ...
GRANT ALL PRIVILEGES ON *.* TO 'sst'
IDENTIFIED BY 'sst'
;
SET GLOBAL wsrep_sst_auth = 'sst:
sst
';
GRANT ALL PRIVILEGES ON *.* TO 'sst';
SET GLOBAL wsrep_sst_auth = 'sst:';
SET GLOBAL wsrep_sst_method = 'mysqldump';
CREATE USER sslsst;
GRANT ALL PRIVILEGES ON *.* TO sslsst;
...
...
mysql-test/suite/galera/r/mysql-wsrep#33.result
View file @
83579c2f
Setting SST method to mysqldump ...
GRANT ALL PRIVILEGES ON *.* TO 'sst'
IDENTIFIED BY 'sst'
;
SET GLOBAL wsrep_sst_auth = 'sst:
sst
';
GRANT ALL PRIVILEGES ON *.* TO 'sst';
SET GLOBAL wsrep_sst_auth = 'sst:';
SET GLOBAL wsrep_sst_method = 'mysqldump';
Performing State Transfer on a server that has been temporarily disconnected
CREATE TABLE t1 (f1 CHAR(255)) ENGINE=InnoDB;
...
...
mysql-test/suite/galera/t/galera_migrate.test
View file @
83579c2f
...
...
@@ -104,11 +104,11 @@ INSERT INTO t1 VALUES (6);
--
connection
node_3
# We need a user with a password for mysqldump SST
GRANT
ALL
PRIVILEGES
ON
*.*
TO
'sst'
IDENTIFIED
BY
'sst'
;
SET
GLOBAL
wsrep_sst_auth
=
'sst:
sst
'
;
GRANT
ALL
PRIVILEGES
ON
*.*
TO
'sst'
;
SET
GLOBAL
wsrep_sst_auth
=
'sst:'
;
--
connect
node_4
,
127.0
.
0.1
,
root
,
,
test
,
$NODE_MYPORT_4
GRANT
ALL
PRIVILEGES
ON
*.*
TO
'sst'
IDENTIFIED
BY
'sst'
;
GRANT
ALL
PRIVILEGES
ON
*.*
TO
'sst'
;
--
disable_query_log
--
eval
SET
GLOBAL
wsrep_sst_method
=
'mysqldump'
;
...
...
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