Skip to content

Commit 79ddcec

Browse files
author
Shlomi Noach
authored
Merge pull request #696 from wcurrie/patch-1
Add Why Is "Connect to Replica" mode preferred?
2 parents 0d773f7 + 7ffcca0 commit 79ddcec

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/questions.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,9 @@ It is therefore unlikely that `gh-ost` will support this behavior.
2828
Yes. TL;DR if running all on same replica/master, make sure to provide `--replica-server-id`. [Read more](cheatsheet.md#concurrent-migrations)
2929

3030
# Why
31+
32+
### Why Is the "Connect to Replica" mode preferred?
33+
34+
To avoid placing extra load on the master. `gh-ost` connects as a replication client. Each additional replica adds some load to the master.
35+
36+
To monitor replication lag from a replica. This makes the replication lag throttle, `--max-lag-millis`, more representative of the lag experienced by other replicas following the master (perhaps N levels deep in a tree of replicas).

0 commit comments

Comments
 (0)