docs icon indicating copy to clipboard operation
docs copied to clipboard

"How fast does re-replication happen?"

Open sploiselle opened this issue 7 years ago • 3 comments

Exalate commented:

  • How quickly is a node brought back online after being restarted after failure?
  • Can you control how quickly this happens (i.e. throttling)?

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

sploiselle avatar Oct 15 '18 18:10 sploiselle

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 avatar Jun 30 '21 19:06 mwang1026

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

mwang1026 avatar Jun 30 '21 19:06 mwang1026

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!

jseldess avatar Nov 27 '21 13:11 jseldess