Skip to content

Commit f710ca6

Browse files
author
Ivan Groenewold
committed
additional info re: Tungsten
1 parent a449646 commit f710ca6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

doc/cheatsheet.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,12 @@ gh-ost --allow-master-master --assume-master-host=a.specific.master.com
146146

147147
Topologies using _tungsten replicator_ are peculiar in that the participating servers are not actually aware they are replicating. The _tungsten replicator_ looks just like another app issuing queries on those hosts. `gh-ost` is unable to identify that a server participates in a _tungsten_ topology.
148148

149-
If you choose to migrate directly on master (see above), there's nothing special you need to do. If you choose to migrate via replica, then you must supply the identity of the master, and indicate this is a tungsten setup, as follows:
149+
If you choose to migrate directly on master (see above), there's nothing special you need to do.
150+
151+
If you choose to migrate via replica, then you need to make sure Tungsten is configured with log-slave-updates parameter (note this is different from MySQL's own log-slave-updates parameter), otherwise changes will not be in the replica's binlog, causing data to be corrupted after table swap. You must also supply the identity of the master, and indicate this is a tungsten setup, as follows:
150152

151153
```
152154
gh-ost --tungsten --assume-master-host=the.topology.master.com
153155
```
156+
157+
Also note that `--switch-to-rbr` does not work for a Tungsten setup as the replication process is external, so you need to make sure `binlog_format` is set to ROW beforehand.

0 commit comments

Comments
 (0)