Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions doc/throttle.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,15 @@ Otherwise you may specify your own list of replica servers you wish it to observ

- `--throttle-control-replicas`: list of replicas you explicitly wish `gh-ost` to check for replication lag.

- _Note:_ these hosts should be actual replicas within the migrated table's replication chain — pointing this at unrelated hosts can report healthy lag while leaving your real downstream replicas unmonitored.

Example: `--throttle-control-replicas=myhost1.com:3306,myhost2.com,myhost3.com:3307`
Comment thread
soepic1 marked this conversation as resolved.
Outdated

- `--max-lag-millis`: maximum allowed lag; any controlled replica lagging more than this value will cause throttling to kick in. When all control replicas have smaller lag than indicated, operation resumes.

Note that you may dynamically change both `--max-lag-millis` and the `throttle-control-replicas` list via [interactive commands](interactive-commands.md)


Comment thread
soepic1 marked this conversation as resolved.
Outdated
#### Status thresholds

- `--max-load`: list of metrics and threshold values; topping the threshold of any will cause throttler to kick in.
Expand Down