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

fix: do not clash ChunkHolder recycling with processors that extend outside the chunk #2353

Merged
merged 1 commit into from
Jul 20, 2023

Conversation

dordsor21
Copy link
Member

@dordsor21 dordsor21 commented Jul 13, 2023

  • Extend getChunkLock usage to capture more operations on the chunks
  • 5 ms grace period before recycling chunk
  • unlock ChunkHolder sooner when being called (with copying both the set and (immediately) the get this can be done now)
  • no longer a need for ReentrantWrappedStampedLock

@dordsor21 dordsor21 requested a review from a team as a code owner July 13, 2023 15:33
@github-actions github-actions bot added the Bugfix This PR fixes a bug label Jul 13, 2023
…utside the chunk

 - Extend getChunkLock usage to capture more operations on the chunks
 - 5 ms grace period before recycling chunk
 - unlock ChunkHolder sooner when being called (with copying both the set and (immediately) the get this can be done now)
 - not longer a need for ReentrantWrappedStampedLock
@dordsor21 dordsor21 force-pushed the fix/no-bad-chunkholder-recycle branch from 5355189 to 6091f82 Compare July 20, 2023 09:58
@dordsor21 dordsor21 requested a review from SirYwell July 20, 2023 09:59
Copy link
Member

@SirYwell SirYwell left a comment

Choose a reason for hiding this comment

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

Nice cleanup

@NotMyFault NotMyFault merged commit 0a8a479 into main Jul 20, 2023
7 checks passed
@NotMyFault NotMyFault deleted the fix/no-bad-chunkholder-recycle branch July 20, 2023 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugfix This PR fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants