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/01/10 07:19:10 UTC

[GitHub] [pulsar] MarvinCai opened a new issue #9162: DLQProducer's creation condition check is incorrect

MarvinCai opened a new issue #9162:
URL: https://github.com/apache/pulsar/issues/9162


   When we check if we need to create producer for DLQ, we used double-checked locking, https://github.com/apache/pulsar/blame/master/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java#L701-L712
   however we should do the second check after we acquired the lock, and the field we're checking should be a volatile field.


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



[GitHub] [pulsar] sijie closed issue #9162: DLQProducer's creation condition check is incorrect

Posted by GitBox <gi...@apache.org>.
sijie closed issue #9162:
URL: https://github.com/apache/pulsar/issues/9162


   


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