Repository navigation
IGNITE-29233 Fix explicit lock left acquired when its timeout expires during mapping - #13775
Open
NSAmelchev wants to merge 14 commits into
Open
NSAmelchev wants to merge 14 commits into
NSAmelchev wants to merge 14 commits into
Conversation
NSAmelchev
force-pushed
the
ignite-29233
branch
3 times, most recently
from
November 5, 2026 11:03
a1974df to
55e2b94
Compare
NSAmelchev
force-pushed
the
ignite-29233
branch
from
November 5, 2026 11:14
79dae52 to
1fa1993
Compare
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.
A timed out
GridDhtColocatedLockFuturecompletes without synchronizing with the mapping thread: if the timeout expires while the keys are still being mapped,undoLocksfinds nothing yet and the mapping then registers the candidates for the completed future.tryLockreturnsfalse, but the key stays locked with no owner, and the next partition map exchange waits for it forever. A reentry of a key the thread already holds leaks the same way.Changes
cancel()of an explicit lock are serialized with the timeout callback on the timeout object monitor: a completed future registers nothing, everything registered before is undone by the completion. Transactions are not affected, they release their candidates on rollback.Visible behavior:
tryLock(timeout)paused during mapping longer than the timeout may returntrueafter the timeout instead of returningfalseand leaving the key locked.