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.
kvclient: ship range descriptor in NLHE
We recently changed a NLHE to carry the range descriptor generation to ensure to avoid thrashing the range cache if the replica had a stale view of the range. In cockroachdb#75742, we saw issues caused by the dist sender having a stale range descriptor. This patch switches from sending just the descriptor generation back in NLHE to shipping back the entire range descriptor. In the future, we may want to solve the issue above by updating the range cache with the fresher range descriptor thus skipping a cache eviction and range descriptor lookup. References cockroachdb#75742 Release note: None
- Loading branch information
1 parent
002021b
commit f891489
Showing
5 changed files
with
285 additions
and
224 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
Oops, something went wrong.