[Bug] Ledger metadata and the actual entry is not matching and unable to read the entry
- 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

And when we try to read the entry number 52 We get the below error .


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
Assessment
This issue has not been assessed yet.