GeezerVison is showing github.com — [improve][broker] Reduce memory occupation of InMemoryRedeliveryTracker. by thetumbled · Pull Request #23640 · apache/pulsar
Conversation
thetumbled
commented
Nov 26, 2024
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Motivation
Reduce memory occupation of the InMemoryRedeliveryTracker.
Modifications
Use Long2ObjectMap<Long2IntMap> to replace ConcurrentLongLongPairHashMap.
Verifying this change
- Make sure that the change passes the CI checks.
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
- Dependencies (add or upgrade a dependency)
- The public API
- The schema
- The default values of configurations
- The threading model
- The binary protocol
- The REST endpoints
- The admin CLI options
- The metrics
- Anything that affects deployment
Documentation
-
doc
-
doc-required
-
doc-not-needed
-
doc-complete
Matching PR in forked repository
PR in forked repository: thetumbled#66
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
thetumbled reacted with laugh emoji
|
Attention: Patch coverage is 63.15789% with 14 lines in your changes missing coverage. Please review.
Project coverage is 74.34%. Comparing base (bbc6224) to head (c37e605).
Report is 751 commits behind head on master.
Additional details and impacted files

@@ Coverage Diff @@
## master #23640 +/- ##
============================================
+ Coverage 73.57% 74.34% +0.76%
- Complexity 32624 34997 +2373
============================================
Files 1877 1944 +67
Lines 139502 147224 +7722
Branches 15299 16246 +947
============================================
+ Hits 102638 109453 +6815
- Misses 28908 29322 +414
- Partials 7956 8449 +493
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 660 files with indirect coverage changes
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.