stats-internal throws 500 with message No such ledger exists on Metadata Server
#14.533 aberto em 2 de mar. de 2022
Métricas do repositório
- Stars
- (13.697 stars)
- Métricas de merge de PR
- (Mesclagem média 3d 10h) (146 fundiu PRs em 30d)
Description
Describe the bug I was getting MissingLogFileException for one of the topic when starting the consumer, when looked into the stats-internal of the topic I found the ledgers for which log file was missing belongs to schemaledger. I deleted those ledgers manually, post that the exception stopped coming for the topic but the stats-internal command started failing with 500 error code. Below is the response I get when running the command.
No such ledger exists on Metadata Server Reason: HTTP 500 Internal Server Error
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
Additional context
I was upgrading my cluster from 2.5.2 to 2.8.2 which failed because of the TLS protocol version error as I was using old version of Java8. During this I reverted the upgrade and since then I am getting the MissingLogFileException for most of the ledgers.
All those dependencies are now fixed and currently I am running my cluster on 2.8.2