StevenLuMT commented on issue #4596: URL: https://github.com/apache/bookkeeper/issues/4596#issuecomment-2829223686
``` export BOOKIE_CONF=/pulsar/conf/bookkeeper.conf lid=17772 ./bin/bookkeeper shell ledgermetadata -ledgerid $lid |grep LedgerMetadata ``` Get the ensembles where the ledgerId is located ``` export BOOKIE_CONF=/pulsar/conf/bookkeeper.conf # bookieId cannot be customized and must be one of the ensembles in the previous command. bookieId=pulsar-bookie-4.pulsar-bookie.pulsar.svc.cluster.local:3181 lid=17772 ./bin/bookkeeper shell listledgers -meta -bookieid $bookieId |grep $lid ``` Use this command to confirm whether the bookieId contains the ledgerId. Confirm that the correct Bookie node is requested. ``` export BOOKIE_CONF=/pulsar/conf/bookkeeper.conf # bookieId cannot be customized and must be one of the ensembles in the previous command. bookieId=pulsar-bookie-4.pulsar-bookie.pulsar.svc.cluster.local:3181 lid=17772 eidStart=0 eidEnd=7005 /pulsar/bin/bookkeeper shell readledger --bookie $bookieId --msg --ledgerid $lid --firstentryid $eidStart --lastentryid $eidEnd ``` Finally, execute this -- 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: commits-unsubscr...@bookkeeper.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org