fix: drain closed accumulator window on re-opened key#3494
Merged
Conversation
Signed-off-by: Vaibhav Tiwari <vaibhav.tiwari33@gmail.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3494 +/- ##
==========================================
+ Coverage 83.02% 83.07% +0.05%
==========================================
Files 310 310
Lines 81426 81426
==========================================
+ Hits 67605 67646 +41
+ Misses 13228 13187 -41
Partials 593 593 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
Contributor
Author
|
Thanks @tmenjo for trying out this partial fix. I'll open this PR up for review. Meanwhile I'm still investigating the minor leak that even I've observed during my testing, which is now corroborated by you as well. |
Member
|
@vaibhavtiwari33 can you run bytehound and figure out what is happening? |
yhl25
approved these changes
Jul 9, 2026
vigith
approved these changes
Jul 10, 2026
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.


Related issues
Related to #3262
Testing
Long running pipeline with accumulator not returning any messages was allowed to run with a jitter source containing repeated keys. The increase in memory for the accumulator reduced significantly in that scenario
Special notes for reviewers
There still seems to be a memory leak somewhere leading to a slow creeping increase in memory usage, only visible during long runs. Hence, the original issue referenced will be left open.