Skip to content

Conversation

@codelipenghui
Copy link
Contributor

Motivation

Currently, the pulsar-admin namespaces set-persistence command implicitly resets the mark-delete rate to 0 (unlimited) if the --ml-mark-delete-max-rate flag is omitted when changing other policies. This behavior can cause unexpected high load on BookKeeper and acts as a "footgun" for operators.

This PR added the PIP by making the default behavior safer and more intuitive, aligning it with the broker's own configuration.

Documentation

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

Matching PR in forked repository

PR in forked repository:

@codelipenghui codelipenghui self-assigned this Jun 18, 2025
@codelipenghui codelipenghui added this to the 4.1.0 milestone Jun 18, 2025
@github-actions github-actions bot added the PIP label Jun 18, 2025
@github-actions github-actions bot added the doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. label Jun 18, 2025
@codelipenghui codelipenghui changed the title [improve][pip] PIP-412: Align pulsar-admin Default for Mark-Delete Rate with Broker Configuration [improve][pip] PIP-427: Align pulsar-admin Default for Mark-Delete Rate with Broker Configuration Jun 18, 2025
Copy link
Contributor

@Technoboy- Technoboy- left a comment

Choose a reason for hiding this comment

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

LGTM

@codelipenghui codelipenghui merged commit f1563f9 into apache:master Jun 26, 2025
20 checks passed
@codelipenghui codelipenghui deleted the penghui/pip-427 branch June 26, 2025 17:34
KannarFr pushed a commit to CleverCloud/pulsar that referenced this pull request Sep 22, 2025
walkinggo pushed a commit to walkinggo/pulsar that referenced this pull request Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. PIP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants