zymap commented on issue #21602: URL: https://github.com/apache/pulsar/issues/21602#issuecomment-1853114877
Because it is this exception `Error while recovering ledger error code: -10`. The -10 in bookkeeper means recovery failed. Recovery failure has various reasons. You can try using `bin/bookkeeper shell ledgermetadata -l <ledgerid>` to check the ledger metadata to see if it is in recovery. Then using `bin/bookkeeper shell readledger -fe 0 -le 1 -l <ledgerid> -force-recovery` to execute the recovery to see what happens in that ledger. You may meet no such ledger or ledger read timeout. If it shows no such ledger or no such entry, that means the ledger is deleted or there is something wrong with the bookkeeper. You can set `autoSkipNonRecoverableData` to true to skip it. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
