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.
storage: improve semantics of desc.Generation
by propagating the new generation of the LHS of a split to the RHS and by taking into account the generation of the RHS on merges, we can compare generations between overlapping replicas to decide which one is stale. Depending on whether we allow anyone from upgrading from 19.1-rcX into 19.1 in a production setting, we won't be able to use these semantics without a separate migration that puts additional state on the range descriptor (which would be nice to avoid). See cockroachdb#36611 for context. Release note: None
- Loading branch information
Showing
4 changed files
with
168 additions
and
19 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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