[Pulsar-Admin] Ledgers in the partitioned-stats-internal command are missing
Open
lifecycle/stale
type/bug
- Dominant language
- Java
- Stars
- 15.3k
- Forks
- 3.8k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 160
Description
**Describe the bug**
Run the command:
```
bin/pulsar-admin topics partitioned-stats-internal xxxx
```
the input as follows:

And run the command again, we can get the ledgers
Contributor guide
Research direction
Start by reproducing the issue with `bin/pulsar-admin topics partitioned-stats-internal xxxx` and compare repeated results. Locate the command's entry point and trace how partitioned statistics are assembled and ledgers are returned. Done means the command consistently includes the ledgers shown by the follow-up invocation, with regression coverage for the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100