You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/05/11 03:15:26 UTC

[GitHub] [pulsar] 315157973 commented on pull request #10528: Make failPendingMessages called from within the ProducerImpl object mutex

315157973 commented on pull request #10528:
URL: https://github.com/apache/pulsar/pull/10528#issuecomment-837711641


   > If all of the callers should from the ProducerImpl object mutex, why not change to `private synchronized void failPendingMessages`?
   
   Because this object mutex is also needed in other places, such as batchMessageAndSend.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org