Skip to content

[cleanup] [broker] Remove useless code to avoid confusion in OpReadEntry#checkReadCompletion#15104

Merged
codelipenghui merged 1 commit into
apache:masterfrom
horizonzy:fix-op-read-entry-pacth-3
Apr 11, 2022
Merged

[cleanup] [broker] Remove useless code to avoid confusion in OpReadEntry#checkReadCompletion#15104
codelipenghui merged 1 commit into
apache:masterfrom
horizonzy:fix-op-read-entry-pacth-3

Conversation

@horizonzy

@horizonzy horizonzy commented Apr 10, 2022

Copy link
Copy Markdown
Member

Fixes #15103

Motivation

Remove useless code.

  • no-need-doc
    (Please explain why)

  • doc-not-needed

@github-actions

Copy link
Copy Markdown

@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
Copy Markdown

@horizonzy:Thanks for providing doc info!

@Jason918 Jason918 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@HQebupt

HQebupt commented Apr 11, 2022

Copy link
Copy Markdown
Contributor

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

mattisonchao commented May 28, 2022

Copy link
Copy Markdown
Member

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

horizonzy commented May 28, 2022 via email

Copy link
Copy Markdown
Member Author

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