apache/pulsar

stats-internal throws 500 with message No such ledger exists on Metadata Server

Open

#14.533 aperta il 2 mar 2022

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)Java (3485 fork)batch import
Stalehelp wantedlifecycle/staletype/bug

Metriche repository

Star
 (13.697 star)
Metriche merge PR
 (Merge medio 3g 10h) (146 PR mergiate in 30 g)

Descrizione

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:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. 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

Guida contributor