-
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] [broker] Remove useless code to avoid confusion in OpReadEntry#checkReadCompletion #15104
[cleanup] [broker] Remove useless code to avoid confusion in OpReadEntry#checkReadCompletion #15104
Conversation
@horizonzy:Thanks for your contribution. For this PR, do we need to update docs? |
@horizonzy:Thanks for providing doc info! |
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
LGTM |
…try#checkReadCompletion. (apache#15104)
…try#checkReadCompletion. (apache#15104)
This PR need to cherry-pick to another branch, because when invoke @codelipenghui @horizonzy Could you help to confirm it? |
Sure
发自我的iPhone
…------------------ Original ------------------
From: Qiang Zhao ***@***.***>
Date: Sat,May 28,2022 8:46 AM
To: apache/pulsar ***@***.***>
Cc: Yan Zhao ***@***.***>, Mention ***@***.***>
Subject: Re: [apache/pulsar] [cleanup] [broker] Remove useless code to avoidconfusion in OpReadEntry#checkReadCompletion (PR #15104)
This PR need to cherry-pick to another branch, because when invoke cursor.ledger.startReadOperationOnLedger(nextReadPosition, OpReadEntry.this); twice may cause NPE when ledger id equals null and then failed this OpAddEntry and recycle it.
@codelipenghui @horizonzy Could you help to confirm it?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
…try#checkReadCompletion. (apache#15104) (cherry picked from commit 9376128)
…try#checkReadCompletion. (apache#15104) (cherry picked from commit 9376128) (cherry picked from commit f03b168)
Fixes #15103
Motivation
Remove useless code.
no-need-doc
(Please explain why)
doc-not-needed