Technoboy- commented on code in PR #15282:
URL: https://github.com/apache/pulsar/pull/15282#discussion_r857059047


##########
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorImpl.java:
##########
@@ -2355,7 +2361,8 @@ public void operationFailed(ManagedLedgerException e) {
             persistPositionMetaStore(-1, position, properties, new 
MetaStoreCallback<Void>() {
                 @Override
                 public void operationComplete(Void result, Stat stat) {
-                    log.info("[{}][{}] Closed cursor at md-position={}", 
ledger.getName(), name, markDeletePosition);
+                    log.info("[{}][{}] Closed cursor at md-position={} 
individualDeletedMessagesSize={}",
+                            ledger.getName(), name, markDeletePosition, 
individualDeletedMessages.size());

Review Comment:
   Log `individualDeletedMessages.size()` seems useless.



-- 
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]

Reply via email to