apache / apache/pulsar

[Bug] Ledger metadata and the actual entry is not matching and unable to read the entry

Open
#21,604 0 comments 0 reactions 1 assignee Claimed by @horizonzy View on GitHub
type/bug
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 14h
Merged PRs (30d)
160

Description

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.

### Version

We are using pulsar 2.10.4 .

### Minimal reproduce step

We have 1500 topics in the pulsar cluster .for one of the topic the ledger metadata is as below
![image](https://github.com/apache/pulsar/assets/151653192/2a673a90-6309-4cf3-afa3-b45e734c0b02)
And when we try to read the entry number 52 We get the below error .
![image](https://github.com/apache/pulsar/assets/151653192/d0086f07-b9f9-488d-9dd2-b9ec8579a2dd)
![image](https://github.com/apache/pulsar/assets/151653192/652c0f3e-7284-4e70-aaa6-000c20e0e7b7)

Because of this consumers/reader are not able to read data from this topic and the whole data flow is stopped for this particular topic .
Any help here !!!

### What did you expect to see?

We expected the consumer/reader to read data from the topic .

### What did you see instead?

We are seeing an error stating entry log does not have entry id .

### Anything else?

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.