-
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.
73697: kvclient: ignore stale lease information from lagging replicas r=aayushshah15 a=aayushshah15 This commit makes it such that the DistSender ignores the lease information returned in `NotLeaseHolderError`s coming from replicas that have stale view of the range descriptor (characterized by an older `DescriptorGeneration` on the replica). Not doing so before was hazardous because, if we received an NLHE that pointed to a replica that did not belong in the cached descriptor, we'd trigger a cache evicion. This assumed that the replica returning the error had a fresher view of the range than what we had in the cache, which is not always true. This meant that we'd keep doing range lookups and subsequent evictions until this lagging replica caught up to the current state of the range. Fixes #72772 Release note (bug fix): A bug that caused high SQL tail latencies during background rebalancing in the cluster has been fixed. 74921: sql,kvstreamer: use Streamer with multiple column families r=yuzefovich a=yuzefovich This commit takes advantage of the recently introduced `WholeRowsOfSize` argument of the `BatchRequest`s (which allows for SQL rows not being split across multiple responses when multiple column families are present) to support multi-column family case in the `Streamer`. Addresses: #54680. Release note: None Co-authored-by: Aayush Shah <[email protected]> Co-authored-by: Yahor Yuzefovich <[email protected]>
- Loading branch information
Showing
13 changed files
with
304 additions
and
90 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
Oops, something went wrong.