gaozhangmin opened a new issue #11619:
URL: https://github.com/apache/pulsar/issues/11619


   There's a chance that headMap might be empty even if a empty check added. 
because remove  would be executed in `ledgers`. after the empty  check between 
line 3214 and line 3219 in following code snippet: 
   
   headMap is a view of ledgers
   
https://github.com/apache/pulsar/blob/31231d602b6d4e6f3c79712e097deb0605fdff24/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java#L3206-L3222
   


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