cockroachdb / docs

CockroachDB user documentation
https://cockroachlabs.com/docs
Creative Commons Attribution 4.0 International
189 stars 459 forks source link

"How fast does re-replication happen?" #3862

Open sploiselle opened 6 years ago

sploiselle commented 6 years ago

Exalate commented:

From @benesch

you can throttle how much bandwidth rebalancing snapshots use with the kv.snapshot_rebalance.max_rate setting; by default i think the node sending the snap throttles traffic to 2mb/s

From @bdarnell

there's also kv.snapshot_recovery.max_rate (which defaults to 8MB/s) (recovery is after a node dies; rebalancing is when all replicas are currently healthy) on the receiver side, there is a limit of one rebalance snapshot at a time

Jira Issue: DOC-196

mwang1026 commented 3 years ago

We get questions about this setting quite a bit and people move it a lot. I think it's worth talking about best practices here at some point (e.g. you don't want to rebalance too high in steady state)

mwang1026 commented 3 years ago

https://github.com/cockroachdb/docs/issues/4408 related / redundant-ish. But keeping around because they both have relevant info.

jseldess commented 2 years ago

We have closed this issue because it is more than 3 years old. If this issue is still relevant, please add a comment and re-open the issue. Thank you for your contribution to CockroachDB docs!