apache/pulsar

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

開放

#14,533 建立於 2022年3月2日

 (5 則留言) (0 個反應) (0 位負責人)Java (3,485 個分叉)batch import
Stalehelp wantedlifecycle/staletype/bug

倉庫指標

星標
 (13,697 顆星)
PR 合併指標
 (平均合併 3天 10小時) (30 天內合併 146 個 PR)

描述

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

貢獻者指南