apache / apache/pulsar

[Pulsar-Admin] Ledgers in the partitioned-stats-internal command are missing

Open
#12,824 5 comments 0 reactions 0 assignees View on GitHub
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:

![image](https://user-images.githubusercontent.com/20965307/141778976-d601d7d2-acb1-4d44-bb30-64a4e9c0a39d.png)

And run the command again, we can get the ledgers

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.