forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
125276: kvserver: constrain store gossip chatter r=nvanbenschoten a=kvoli Previously, it was possible that store's would gossip their store descriptors rapidly on capacity changes, without limit. This patch introduces a hard frequency limit of 2s on capacity change triggered gossip. In other words, irrespective of any capacity changes that may have taken place, a store will gossip at most every 2s if satisfying the capacity delta trigger. Resolves: cockroachdb#125210 Release note: None --- Increase the relative requirement for triggering store gossip on capacity changes for lease and ranges. Previously, the requirement was a +-5% delta from the previously gossiped value, in addition to a minimum (5). Increase the relative delta from 5 to 10%. Informs: cockroachdb#125227 Release note: None --- Introduce `kv.store_gossip.capacity_delta_threshold` and `kv.store_gossip.max_frequency`, which control the capacity delta required to trigger eager gossip for lease/range counts and the maximum frequency of eager store gossip. The defaults for these settings remained unchanged from the previously hard-coded defaults: `kv.store_gossip.capacity_delta_threshold`: 0.10 `kv.store_gossip.max_frequency`: 2s Resolves: cockroachdb#125227 Release note: None Co-authored-by: Austen McClernon <[email protected]>
- Loading branch information
Showing
15 changed files
with
206 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.