Skip to content

GH-11041: Revise cache in the JdbcLockRegistry - #11043

Merged
cppwfs merged 3 commits into
spring-projects:mainfrom
artembilan:Gh-11041
Jun 4, 2026
Merged

GH-11041: Revise cache in the JdbcLockRegistry#11043
cppwfs merged 3 commits into
spring-projects:mainfrom
artembilan:Gh-11041

Conversation

@artembilan

Copy link
Copy Markdown
Member

Fixes: #11041

Auto-cherry-pick to 7.0.x & 6.5.x

@artembilan
artembilan requested a review from cppwfs June 3, 2026 21:16

@cppwfs cppwfs left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love the idea! I've added some questions and comments.

The held lock might be evicted from the cache,
so the null from the `this.locks.get(path)` does not reflect reality
@artembilan
artembilan requested a review from cppwfs June 4, 2026 15:43

@cppwfs cppwfs left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !

Great work!

@cppwfs
cppwfs merged commit 8db1e69 into spring-projects:main Jun 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants