-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
34478: storage: simplify the stores' handling of version updates r=andreimatei a=andreimatei Don't call SynthesizeClusterVersion() when gossip updates the version. That function does too much - it reads from all the stores, validates, writes. Gossip updates don't need all that jazz, so do something simpler. Also, that call to SynthesizeClusterVersion() was in my way for some upcoming bulldozing. This patch also moves the istallation of the gossip callback that persists version updates to stores, to make it more easy to reason about what version is being used during startup. Release note: None Co-authored-by: Andrei Matei <[email protected]>
- Loading branch information
Showing
3 changed files
with
48 additions
and
17 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