-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[cleanup][ml] ManagedCursor clean up. #22246
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #22246 +/- ##
============================================
+ Coverage 73.57% 73.60% +0.02%
- Complexity 32624 32754 +130
============================================
Files 1877 1879 +2
Lines 139502 139791 +289
Branches 15299 15335 +36
============================================
+ Hits 102638 102892 +254
- Misses 28908 28914 +6
- Partials 7956 7985 +29
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
LGTM
Hi @dao-jun Could you merge the pr at least two reviews approval? |
@dao-jun The PR touched the critical path of Pulsar, we should wait for more reviewers to review the PR. If a PR get merged with one reviewer and merged in a few hours, the committers will lost the chance to review your PR and new potential risks might introduce to the Pulsar codebase. Now, so many companies are relaying on the stable release, even if this is a trivial changes to cleanup the managed cursor, give more time for other reviewer will still benefit Pulsar. WDYT? |
got it |
@dao-jun It seems that this was merged without more reviews. I added a comment to the commit:
|
Yes, my bad |
@dao-jun I'd recommend reverting the change that I have pinpointed in the comment 532b0d9#r140287388 , assuming that it creates new PositionImpl instances which were avoided before this change was made. /cc @codelipenghui |
@lhotari I've replied your comment, 532b0d9#r140303950 |
(cherry picked from commit 532b0d9)
Motivation
Code clean up.
Modifications
Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
doc
doc-required
doc-not-needed
doc-complete
Matching PR in forked repository
PR in forked repository: