dao-jun commented on code in PR #24522:
URL: https://github.com/apache/pulsar/pull/24522#discussion_r2210615721


##########
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/ManagedLedger.java:
##########
@@ -420,6 +420,13 @@ void asyncOpenCursor(String name, InitialPosition 
initialPosition, Map<String, L
      */
     long getOffloadedSize();
 
+    /**
+     * Reset Exception before write to null.
+     */
+    default void resetExceptionBeforeWrite() {

Review Comment:
   Yes, I add a delay here is for reproduce this case 
https://github.com/apache/pulsar/pull/24522/files#diff-dc0d94cf41b0e8f6f7a343c2da4faf18fb02632e67c84c2bb831a2550ccc4dc6R38



-- 
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...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to