-
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.
94060: kvserver: rm in-memory replica tombstone tracking r=tbg a=pavelkalinnikov The invariants guaranteed by getOrCreateReplica make it unnecessary to track tombstoneMinReplicaID for the split trigger purposes. This field was introduced to guard against Replica changing its ID backwards, however since then Replica no longer can change its ID in the first place. Invariants of the Store (at most one replica for rangeID), in combination with the fact that replicaID is immutable, and with the fact that both in-memory replica ID, and replica tombstone in storage, are always consulted before creating a Replica, guarantee that active replica ID never regresses. Release note: None Epic: CRDB-220 Co-authored-by: Pavel Kalinnikov <[email protected]>
- Loading branch information
Showing
4 changed files
with
42 additions
and
29 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