Jason918 commented on code in PR #17753:
URL: https://github.com/apache/pulsar/pull/17753#discussion_r982190974
##########
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/OpReadEntry.java:
##########
@@ -100,8 +100,9 @@ public void readEntriesFailed(ManagedLedgerException
exception, Object ctx) {
} else if (cursor.config.isAutoSkipNonRecoverableData() && exception
instanceof NonRecoverableLedgerException) {
Review Comment:
I think we should only apply this patch only if the BK error code is
`Code.NoSuchEntryException`. See
https://github.com/AnonHxy/pulsar/blob/36ee4d757f9511788519228e573eff91f7c7e697/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java#L3747
--
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]