Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[improve][ml] RangeCache refactoring follow-up: use StampedLock instead of synchronized #22818

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented Jun 2, 2024

Motivation

#22814 added synchronized usage to RangeCache to ensure consistency. Synchronized usage can be avoided by the use of StampedLock

Modifications

Replace synchronized with StampedLock

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@lhotari lhotari requested a review from merlimat June 2, 2024 11:37
@lhotari lhotari self-assigned this Jun 2, 2024
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Jun 2, 2024
@lhotari lhotari merged commit 208d8a5 into apache:master Jun 3, 2024
52 of 53 checks passed
lhotari added a commit that referenced this pull request Jun 3, 2024
lhotari added a commit that referenced this pull request Jun 3, 2024
lhotari added a commit that referenced this pull request Jun 3, 2024
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request Jun 7, 2024
…ad of synchronized (apache#22818)

(cherry picked from commit 208d8a5)
(cherry picked from commit 62f674a)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Jun 7, 2024
…ad of synchronized (apache#22818)

(cherry picked from commit 208d8a5)
(cherry picked from commit 62f674a)
@lhotari lhotari added this to the 4.0.0 milestone Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants