sakurafly123 commented on issue #9818: URL: https://github.com/apache/pulsar/issues/9818#issuecomment-792541488
> Have you deleted the ledgers from the bookie? From the error log, it means the topic metadata contains a LedgerId but the LedgerId does not exist in the bookkeeper cluster. Can this reproduce stably? Another possibility is the topic is in the process to delete the Ledger, the ledger is deleted from the bookie cluster but the topic metadata does not update yet. Have you tried run the same SQL query multiple times? i don't delete ledgers from the bookie > #### Expected behavior > when I use Presto SQL, I encountered a mistakeļ¼ > > presto> select * from pulsar."public/default".test8; > Query 20210305_090629_00024_pnys3 failed: org.apache.bookkeeper.mledger.ManagedLedgerException: java.util.concurrent.CompletionException: **org.apache.bookkeeper.client.BKException$BKNoSuchLedgerExistsOnMetadataServerException: No such ledger exists on Metadata Server** > who can tell me how to solve this problem? thank. > > **Pulsar version**: 2.6.0 broker conf: ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
