-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix][broker] In the trimDeletedEntries method, release the removed entry #18305
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
Conversation
|
@codelipenghui @Jason918 PTAL,thanks! |
codelipenghui
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch!
|
/pulsarbot run-failure-checks |
Codecov Report
@@ Coverage Diff @@
## master #18305 +/- ##
=============================================
+ Coverage 38.97% 51.54% +12.57%
+ Complexity 8311 7356 -955
=============================================
Files 683 400 -283
Lines 67325 43678 -23647
Branches 7217 4479 -2738
=============================================
- Hits 26239 22516 -3723
+ Misses 38079 18735 -19344
+ Partials 3007 2427 -580
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
/pulsarbot run-failure-checks |
|
@Technoboy- PTAL,thanks! |
|
/pulsarbot run-failure-checks |
2 similar comments
|
/pulsarbot run-failure-checks |
|
/pulsarbot run-failure-checks |
|
…ntry (apache#18305) (merge request !161) Squash merge branch 'release-2.8.1.4-fix_mem_leak' into 'release-2.8.1.4' Fixes #<xyz> ### Motivation [fix][broker] In the trimDeletedEntries method, release the removed entry (apache#18305)
…ntry (apache#18305) (merge request !161) Squash merge branch 'release-2.8.1.4-fix_mem_leak' into 'release-2.8.1.4' Fixes #<xyz> ### Motivation [fix][broker] In the trimDeletedEntries method, release the removed entry (apache#18305)
…ntry (apache#18305) (cherry picked from commit 79a3f85) (cherry picked from commit 4eb93ec)
…ntry (apache#18305) (cherry picked from commit 79a3f85) (cherry picked from commit 4eb93ec)
Motivation
In the trimDeletedEntries method, the removed entry is not released:
pulsar/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorImpl.java
Lines 3307 to 3310 in 2e878e8
pulsar/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentDispatcherMultipleConsumers.java
Lines 582 to 585 in 2e878e8
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: lordcheng10#38