liangyepianzhou commented on PR #22034:
URL: https://github.com/apache/pulsar/pull/22034#issuecomment-1931237507

   > Oh, I saw one place will cause this behaviour
   > 
   > 
https://github.com/apache/pulsar/blob/0dabc9754aa371b241fc3daec4df21bee3ff8ce2/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java#L859
   > 
   > . But it should be okay, the rollover will create a new ledger finally.
   
   Oh, I see. This is a bug, not a behavior change. The rollover in the 
OpAddEntry does not create a new ledger.
   
https://github.com/apache/pulsar/blob/0dabc9754aa371b241fc3daec4df21bee3ff8ce2/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/OpAddEntry.java#L244-L249
   


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