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:
[email protected]


Reply via email to