AnonHxy commented on PR #16668:
URL: https://github.com/apache/pulsar/pull/16668#issuecomment-1191331012

   When we called  `ManagedLedgerImpl#updateLedgersIdsComplete` ->  
`OpAddEntry#initiate`, and  then  If `ledger.asyncAddEntry`(L140) callback 
successfully, the `OpAddEntry` state will be `COMPLETED ` instead of `INITIATED 
`.  I think this is the root cause to make the test failure.  
   
   
https://github.com/apache/pulsar/blob/a1b8476e40b6a40e82062915d13e4dc9d7dff9cb/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/OpAddEntry.java#L125-L140
   


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