GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||
GeezerVison is showing github.com — [fix][ml] Fix memory leak due to duplicated RangeCache value retain operations by BewareMyPower · Pull Request #23955 · apache/pulsar Conversation
Contributor
Motivation#23903 introduces a memory leak issue in - Value value = entryWrapper.getValue(key); + Value value = getValueMatchingEntry(entry); Unlike Modifications
Documentation
Matching PR in forked repositoryPR in forked repository:
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
BewareMyPower
requested review from
codelipenghui,
heesung-sohn,
lhotari,
mattisonchao,
poorbarcode and
shibd
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Merged
1 of 4 tasks
lhotari
requested changes
|
|
The |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
This is necessary in this case due to the racy usage of the cache without synchronization. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## master #23955 +/- ## ============================================ + Coverage 73.57% 74.23% +0.66% + Complexity 32624 31919 -705 ============================================ Files 1877 1853 -24 Lines 139502 143828 +4326 Branches 15299 16344 +1045 ============================================ + Hits 102638 106773 +4135 + Misses 28908 28674 -234 - Partials 7956 8381 +425
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I'll merge this as soon as it completes, since I'm creating a PR to prevent future regressions by enabling Netty Leak detector in Pulsar CI so that any detected leak will make the build fail. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…perations (#23955) Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 20b3b22)
…perations (#23955) Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 20b3b22)
…perations (#23955) Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 20b3b22)
|
I have created #23956 (WIP, draft) to address future memory leak regressions. It seems that there are quite a few tests where leaks happen currently and some of them are hard to fix. I have added a solution where it's possible to ignore specific test classes. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…perations (apache#23955) Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 20b3b22)
…perations (apache#23955) Co-authored-by: Lari Hotari <[email protected]>
…perations (apache#23955) Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 20b3b22) (cherry picked from commit 224320e)
…perations (apache#23955) Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 20b3b22) (cherry picked from commit dafd347)
…perations (apache#23955) Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 20b3b22) (cherry picked from commit 224320e)
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.