Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cluster: wait between config set_status RPCs
On a healthy system, we do want to send set_status RPCs as soon as we're ready. However, if the controller log updates are not being seen promptly, this would lead to the follower spamming the controller leader with very many set_status RPCs in a tight loop. Nodes will still send their status immediately when a config change occurs: this change only effects the behaviour if _another_ config change occurs while it is reporting status from the first change: in this case the follower will wait 5 seconds before sending its next status RPC. Related #4923 (cherry picked from commit 3b1e56e)
- Loading branch information