-
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.
98460: kvserver: don't cancel lease requests when callers cancel r=erikgrinaker a=erikgrinaker Previously, asynchronous lease requests would be cancelled when all callers waiting for the request were cancelled. This could cause lease acquisitions to persistently fail in the face of IO delays if all callers timed out. Furthermore, requests to ranges with expiration-based leases would trigger an asynchronous lease extension via `maybeExtendLeaseAsyncLocked()` in the latter half of the lease interval, but because the originating request was likely to complete soon this could end up cancelling the lease request before it completed. Resolves #98453. Epic: none Release note: None Co-authored-by: Erik Grinaker <[email protected]>
- Loading branch information
Showing
2 changed files
with
94 additions
and
46 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