src: fix live lock between environments with blocked requests - #65520
Open
IlyasShabi wants to merge 1 commit into
Open
src: fix live lock between environments with blocked requests#65520IlyasShabi wants to merge 1 commit into
IlyasShabi wants to merge 1 commit into
Conversation
Signed-off-by: ishabi <ilyasshabi94@gmail.com>
IlyasShabi
force-pushed
the
ishabi/web-locks-livelock-62644
branch
from
August 24, 2026 17:43
d979993 to
769b088
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #65520 +/- ##
==========================================
- Coverage 90.31% 90.15% -0.17%
==========================================
Files 760 751 -9
Lines 248532 253587 +5055
Branches 46908 47781 +873
==========================================
+ Hits 224467 228622 +4155
- Misses 15505 16214 +709
- Partials 8560 8751 +191
🚀 New features to boost your workflow:
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LockManager::ProcessQueue()woke every other env with any pending request, even when none of those requests could make progress. Two envs with requests blocked on the same resource would wake each other back and forth forever.This PR will wake another env only when one of its requests can make progress:
Fixes #62644