dlg99 commented on PR #3214:
URL: https://github.com/apache/bookkeeper/pull/3214#issuecomment-1255580520

   @massakam you are absolutely right, that was an extra release. 
   So, we should not call checkFragments() in the callback that runs on the 
bookie's ordered executor (acquire blocks a chance to run of the bookie 
callback that releases permit).
   https://gist.github.com/dlg99/3e1524f0804c4688ccb31e3300b89c4e basically 
your initial idea with the executor, needs other tests to close LedgerChecker.
   This one: https://gist.github.com/dlg99/28f07f3bcd3f71000b1faba6b906fb09 is 
kind of the same but uses common pool executor (via whenCompleteAsync)
   


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