This is an automated email from the ASF dual-hosted git repository.

technoboy pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/branch-4.1 by this push:
     new b2b5ab0cfcb [improve][broker]Remove the warn log that frequently 
prints (#25018)
b2b5ab0cfcb is described below

commit b2b5ab0cfcb447e5761707801f73c0b79e296492
Author: fengyubiao <[email protected]>
AuthorDate: Wed Nov 26 15:29:06 2025 +0800

    [improve][broker]Remove the warn log that frequently prints (#25018)
---
 .../main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java | 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java
 
b/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java
index 5a9d444f82b..c56ad617a8a 100644
--- 
a/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java
+++ 
b/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java
@@ -3844,8 +3844,6 @@ public class ManagedLedgerImpl implements ManagedLedger, 
CreateCallback {
                 || pos2.getLedgerId() < getFirstPosition().getLedgerId()
                 || pos1.getLedgerId() > getLastPosition().getLedgerId()
                 || pos2.getLedgerId() > getLastPosition().getLedgerId()) {
-            log.warn("[{}] Comparing un-exist position {} and {}", name, pos1, 
pos2,
-                    new IllegalArgumentException("Comparing un-exist 
position"));
             return pos1.compareTo(pos2);
         }
         if (pos1.getLedgerId() == pos2.getLedgerId()) {

Reply via email to