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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
9ac996e1
Commit
9ac996e1
authored
Apr 25, 2008
by
skozlov/ksm@mysql.com/virtop.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL#3754, circular replication tests
parent
b3a5ca26
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
66 additions
and
9 deletions
+66
-9
mysql-test/include/circular_rpl_for_4_hosts_init.inc
mysql-test/include/circular_rpl_for_4_hosts_init.inc
+1
-1
mysql-test/suite/rpl/r/rpl_circular_for_4_hosts.result
mysql-test/suite/rpl/r/rpl_circular_for_4_hosts.result
+1
-1
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts-master.opt
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts-master.opt
+0
-1
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts-slave.opt
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts-slave.opt
+0
-1
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts.cnf
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts.cnf
+27
-0
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch-master.opt
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch-master.opt
+0
-1
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch-slave.opt
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch-slave.opt
+0
-1
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch.cnf
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch.cnf
+35
-0
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch.test
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch.test
+2
-3
No files found.
mysql-test/include/circular_rpl_for_4_hosts_init.inc
View file @
9ac996e1
...
...
@@ -18,7 +18,7 @@
--
source
include
/
master
-
slave
.
inc
#
# Set up circular ring by schema A->B->C-D->A
# Set up circular ring by schema A->B->C-
>
D->A
#
--
connection
slave
...
...
mysql-test/suite/rpl/r/rpl_circular_for_4_hosts.result
View file @
9ac996e1
*** Set up circular ring by schema A->B->C-D->A ***
*** Set up circular ring by schema A->B->C-
>
D->A ***
stop slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
reset master;
...
...
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts-master.opt
deleted
100644 → 0
View file @
b3a5ca26
--slave-num=3 --log-slave-updates --innodb
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts-slave.opt
deleted
100644 → 0
View file @
b3a5ca26
--log-slave-updates --innodb
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts.cnf
0 → 100644
View file @
9ac996e1
!include ../my.cnf
[mysqld.1]
log-slave-updates
innodb
[mysqld.2]
log-slave-updates
innodb
[mysqld.3]
log-slave-updates
innodb
[mysqld.4]
log-slave-updates
innodb
[ENV]
SLAVE_MYPORT1= @mysqld.3.port
SLAVE_MYSOCK1= @mysqld.3.socket
SLAVE_MYPORT2= @mysqld.4.port
SLAVE_MYSOCK2= @mysqld.4.socket
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch-master.opt
deleted
100644 → 0
View file @
b3a5ca26
--slave-num=2 --server-id=1 --log-bin -log-slave-updates
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch-slave.opt
deleted
100644 → 0
View file @
b3a5ca26
--server-id=2 --log-bin --log-slave-updates --skip-slave-start
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch.cnf
0 → 100644
View file @
9ac996e1
!include ../my.cnf
[mysqld.1.1]
server-id= 1
log-bin
log-slave-updates
[mysqld.2.1]
server-id= 1
log-bin
log-slave-updates
[mysqld.1.slave]
server-id= 2
log-bin
log-slave-updates
skip-slave-start
[mysqld.2.slave]
server-id= 2
master-host= 127.0.0.1
master-port= @mysqld.2.1.port
master-password= @mysqld.2.1.#password
master-user= @mysqld.2.1.#user
master-connect-retry= 1
init-rpl-role= slave
log-bin
log-slave-updates
skip-slave-start
ndb_connectstring= @mysql_cluster.slave.ndb_connectstring
[ENV]
SLAVE_MYPORT1= @mysqld.2.slave.port
SLAVE_MYSOCK1= @mysqld.2.slave.socket
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch.test
View file @
9ac996e1
...
...
@@ -170,10 +170,9 @@ SELECT COUNT(*), SUM(a), b FROM t1 WHERE c = 3 GROUP BY b ORDER BY b;
# Clean up
--
connection
master
D
ELETE
FROM
t1
;
D
ROP
TABLE
t1
;
--
connection
slave
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
0
FROM
t1
;
--
source
include
/
wait_condition
.
inc
DROP
TABLE
t1
;
--
echo
# End of test 5.1
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