Skip to content

[fix][broker] pulsar admin stats internal with metadata command#25557

Merged
lhotari merged 1 commit intoapache:masterfrom
programmerahul:pulsar-admin-fix
Apr 22, 2026
Merged

[fix][broker] pulsar admin stats internal with metadata command#25557
lhotari merged 1 commit intoapache:masterfrom
programmerahul:pulsar-admin-fix

Conversation

@programmerahul
Copy link
Copy Markdown
Contributor

@programmerahul programmerahul commented Apr 21, 2026

Following command returns wrong metadata for compactedLedger (It returns the metadata of schemaLedger):
pulsar-admin topics stats-internal persistent://t/n/__change_events -m

To reproduce:

  1. Run command: pulsar-admin topics stats-internal persistent://t/n/__change_events -m
  2. Check the ensemble of schemaLedgers and compactedLedger from bookie and compare it with the output of above command.

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

@programmerahul
Copy link
Copy Markdown
Contributor Author

@lhotari please review

Copy link
Copy Markdown
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

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

LGTM

@lhotari lhotari merged commit 9cf1cc9 into apache:master Apr 22, 2026
44 of 45 checks passed
lhotari pushed a commit that referenced this pull request Apr 22, 2026
Co-authored-by: Rahul Prasad <rahul.prasad3@flipkart.com>
(cherry picked from commit 9cf1cc9)
lhotari pushed a commit that referenced this pull request Apr 22, 2026
Co-authored-by: Rahul Prasad <rahul.prasad3@flipkart.com>
(cherry picked from commit 9cf1cc9)
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.

2 participants