Skip to content

[fix][broker]consumer backlog eviction policy should not reset read position for consumer - #5

Merged
HQebupt merged 5 commits into
masterfrom
fixBacklogPolicy2
Oct 19, 2022
Merged

HQebupt merged 5 commits into
masterfrom
fixBacklogPolicy2

Conversation

@HQebupt

@HQebupt HQebupt commented Oct 11, 2022 •

Copy link
Copy Markdown
Owner

Motivation

fix apache#18036

Modifications

  • The backlog eviction policy should use asyncMarkDelete instead of resetCursor in order to move the mark delete position.

Verifying this change

  • Make sure that the change passes the CI checks.

This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API: (no)
  • The schema: (no)
  • The default values of configurations: (no)
  • The wire protocol: (no)
  • The rest endpoints: (no)
  • The admin cli options: (no)
  • Anything that affects deployment: (no)

Documentation

Check the box below or label this PR directly.

Need to update docs?

  • doc-required
  • doc-not-needed
  • doc
  • doc-complete

Matching PR in forked repository

PR in forked repository: #5

@HQebupt

HQebupt commented Oct 15, 2022

Copy link
Copy Markdown
Owner Author

/pulsarbot run-failure-checks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] consumer backlog eviction policy should not reset read position of the consumer

1 participant