Skip to content
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

Merged
merged 1 commit into from
Apr 11, 2022

Conversation

horizonzy
Copy link
Member

@horizonzy horizonzy commented Apr 10, 2022

Fixes #15103

Motivation

Remove useless code.

  • no-need-doc
    (Please explain why)

  • doc-not-needed

@github-actions
Copy link

@horizonzy:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

@github-actions
Copy link

@horizonzy:Thanks for providing doc info!

Copy link
Contributor

@Jason918 Jason918 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@HQebupt
Copy link
Contributor

HQebupt commented Apr 11, 2022

LGTM

@codelipenghui codelipenghui added this to the 2.11.0 milestone Apr 11, 2022
@codelipenghui codelipenghui merged commit 9376128 into apache:master Apr 11, 2022
aparajita89 pushed a commit to aparajita89/pulsar that referenced this pull request Apr 18, 2022
Nicklee007 pushed a commit to Nicklee007/pulsar that referenced this pull request Apr 20, 2022
@mattisonchao
Copy link
Member

mattisonchao commented May 28, 2022

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 OpReadEntry and recycle it.

@codelipenghui @horizonzy Could you help to confirm it?

@horizonzy
Copy link
Member Author

horizonzy commented May 28, 2022 via email

codelipenghui pushed a commit to codelipenghui/incubator-pulsar that referenced this pull request Jun 7, 2022
nicoloboschi pushed a commit to datastax/pulsar that referenced this pull request Jun 7, 2022
…try#checkReadCompletion. (apache#15104)

(cherry picked from commit 9376128)
(cherry picked from commit f03b168)
codelipenghui pushed a commit that referenced this pull request Jun 10, 2022
…try#checkReadCompletion. (#15104)

(cherry picked from commit 9376128)
@codelipenghui codelipenghui added the cherry-picked/branch-2.9 Archived: 2.9 is end of life label Jun 10, 2022
BewareMyPower pushed a commit that referenced this pull request Jul 27, 2022
…try#checkReadCompletion. (#15104)

(cherry picked from commit 9376128)
@BewareMyPower BewareMyPower added the cherry-picked/branch-2.8 Archived: 2.8 is end of life label Jul 27, 2022
Jason918 pushed a commit that referenced this pull request Aug 7, 2022
…try#checkReadCompletion. (#15104)

(cherry picked from commit 9376128)
@Jason918 Jason918 added the cherry-picked/branch-2.7 Archived: 2.7 is end of life label Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove useless code to reduce confusion
6 participants