graysonzeng commented on PR #4194:
URL: https://github.com/apache/bookkeeper/pull/4194#issuecomment-1968361845

   > @graysonzeng
   > 
   > > If this PR is merged, I think the repair of #4171 may be improved.
   > 
   > Is the issue with #4171 that BookKeeperClientWorker-OrderedExecutor thread 
and pulsar-io thread called LedgerHandle#sendAddSuccessCallbacks at the same 
time?
   
   Yes.
   
   > 
   > Even if this PR is merged, will BookKeeperClientWorker-OrderedExecutor 
thread still call LedgerHandle#sendAddSuccessCallbacks, but will #4171 improve? 
[f47db3d#diff-1d893bb31553b5e1f55c8301d04ae15f38e0d35f531f9dd22475128b7972ddf9R2004](https://github.com/apache/bookkeeper/commit/f47db3d343c43f583d769428e094978a53e011d1#diff-1d893bb31553b5e1f55c8301d04ae15f38e0d35f531f9dd22475128b7972ddf9R2004)
   
   I mean maybe we can use a simpler way to fix #4171 after this PR, for 
example add synchronized to the sendAddSuccessCallbacks may not lead to 
deadlock anymore?


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