tomyouyou commented on pull request #11162:
URL: https://github.com/apache/pulsar/pull/11162#issuecomment-872078057


   @Anonymitaet  the PR doesn't need to update docs.
   
   @lhotari 
   
   To reproduce the issue:
   1. Delay writing completion to simulate a slow device.
   2. Shorten the following parameters: 
   
   # Minimum time between ledger rollover for a topic
   managedLedgerMinLedgerRolloverTimeMinutes=1
   
   # Maximum time before forcing a ledger rollover for a topic
   managedLedgerMaxLedgerRolloverTimeMinutes=2
   
   The log is as follows:
   
   19877 16:39:37.155 [main-EventThread] INFO  
org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - 
[public/default/persistent/test] Creating a new ledger
   
   19881 16:39:37.155 [main-EventThread] INFO  
org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - MYDBG 
createLedgerAfterClosed pendingAddEntries size:1 isCreating:true
   
   19945 16:39:37.176 [main-EventThread] INFO  
org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - 
[public/default/persistent/test] Created new ledger 22768
   
   19948 16:39:37.184 [main-EventThread] INFO  
org.apache.bookkeeper.mledger.impl.Ma      nagedLedgerImpl - 
[public/default/persistent/test] Created new ledger 22769
   
   The ledger handle of '22768' will be overwritten by 'ledger 22769' ,and 
'ledger 22768' will never be deleted.


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