-
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.
kv: handle RangeNotFound same as RangeKeyMismatch in DistSender
`RangeNotFoundError` was previously being treated the same as a node or store being temporarily or permanently unavailable. We now treat it the same as `RangeKeyMismatchError`, exiting immediately with the assumption that the `RangeDescriptor` used to collate a slice of replicas as distributed send targets is stale and must be re-queried. Further, we now deduce that the same is true in the event that we get a `NotLeaseHolderError` that implicates a replica which is not present in the replicas slice. Fixes #15543
- Loading branch information
1 parent
276f1cd
commit 05d892b
Showing
3 changed files
with
130 additions
and
16 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