tmzk1005 commented on issue #4200:
URL: https://github.com/apache/bookkeeper/issues/4200#issuecomment-2007818487

   Maybe a thread synchronization problem :
   
   
![2024-03-20_01-25-DeferredSyncTest](https://github.com/apache/bookkeeper/assets/15995517/f0587fdd-ea11-47b9-8837-d8a5a2aca930)
   
   `code-block-1` and  `code-block-3`  runs in main thread, but `code-block-2` 
and  `code-block-4` runs in another thread, when  the execution order is `1 -> 
2 -> 3 -> 4`. callback has no chance to run, so `result(forceResult);` blocked 
forever.
   


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