zkfan / tungsten-replicator

Automatically exported from code.google.com/p/tungsten-replicator
0 stars 0 forks source link

master --> slave-master --> slave doesen't work #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Host1: Create a master service named 'repl_1'
2. Host2: Create a slave service named 'repl_1' AND a master service named 
'repl_2'
3. Host 3: Create a slave service named 'repl_2'

Topology is simple:
Host1 --> Host2 --> Host3

What is the expected output?
All SQL should replicate from Host1 until Host3

What do you see instead?
Replication works OK Host1 --> Host2
Replication works OK Host2 --> Host3 but ONLY commands that originate on Host2!

What version of the product are you using?
2.0.3

On what operating system?
Linux (Fedora 15)

Please provide any additional information below.

Notes.

Original issue reported on code.google.com by whitecol...@gmail.com on 15 Jun 2011 at 2:57

GoogleCodeExporter commented 9 years ago
This is not a bug.
For relayed replication, the intermediate host (host2) must be a slave. The 
final host (host3) will be pointing at host2 as if it were a master.

If you want to replicate both events generated on host1 and host2, then you 
need to create a two services, SERVICE1 with master host1 and slave host2, and 
SERVICE2 with  master host2 and slaves host1 and host3. 
Please use the Tungsten group mailing list to discuss this matter

Original comment by g.maxia on 15 Jun 2011 at 7:05