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: vastly superier handling of queue chunks #2461

Merged
merged 3 commits into from
Oct 22, 2023

Conversation

dordsor21
Copy link
Member

@dordsor21 dordsor21 added Performance Major bug fix This PR fixes a major bug Bugfix This PR fixes a bug labels Oct 14, 2023
@dordsor21 dordsor21 requested a review from a team as a code owner October 14, 2023 19:20
@dordsor21 dordsor21 added the hacktoberfest-accepted Apply this label on PRs label Oct 14, 2023
@dordsor21 dordsor21 force-pushed the fix/fix-chunkholder-queueing-issues branch from e21d913 to 1e4814c Compare October 14, 2023 19:40
 - remove ChunkHolder locking concept as this is no longer needed
 - previously we obtained the copy from chunk GET on finalize, meaning the copy could be replaced by a "newer" one (bad)
 - work around this issue by introducing concept of "unique" keys to map chunk GET copies to
 - correctly handle resetting of various chunk-related classes to actually allow pooling to work
 - remove chunks as they are submitted when flushing a SingleThreadQueueExtenting
 - Fixes #2459
 - Addresses #2448
 - Fixes #2388
@dordsor21 dordsor21 force-pushed the fix/fix-chunkholder-queueing-issues branch from 1e4814c to 0b321ba Compare October 14, 2023 19:48
@NotMyFault
Copy link
Member

Conflicts.

@dordsor21 dordsor21 enabled auto-merge (squash) October 22, 2023 09:51
@dordsor21 dordsor21 merged commit f5803a0 into main Oct 22, 2023
7 checks passed
@dordsor21 dordsor21 deleted the fix/fix-chunkholder-queueing-issues branch October 22, 2023 10:04
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 hacktoberfest-accepted Apply this label on PRs Major bug fix This PR fixes a major bug Performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

java.lang.NullPointerException when copying region Edits seemingly randomly stop working in newer 2.7.x
3 participants