zxbfeng commented on issue #1571: URL: https://github.com/apache/pulsar/issues/1571#issuecomment-617503423
> A broker owner of a topic partition is always failing trying to read a ledger because ledger doesn't exist in bookkeeper (we checked using `bookkeeper shell ledger`). > > Broker log: > > ``` > 2018-04-13 14:16:11,677 - ERROR - [bookkeeper-ml-workers-38-1:ManagedLedgerImpl@1345] - [fury/global/8caa83e304674002a34f441f34f73f63-shipping-shipping/persistent/8caa83e304674002a34f441f34f73f63-shipping-shipping-partition-4] Error opening ledger for reading at position 7539625:0 - org.apache.bookkeeper.mledger.ManagedLedgerException: No such ledger exists > ``` > > This error is happening always for the same partition and ledger id, since several weeks ago, even namespace retention and message TTL are set to 7 days. > > What is the recommended way to fix this particular case? How can we safely remove ledger id from partition metadata? > > Thanks! > > #### System configuration > **Pulsar version**: 1.20.0 Did you know how did this problem arise ? The system config or zookeeper error or other reasons!!! ---------------------------------------------------------------- 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]
