wolfstudy opened a new pull request #701:
URL: https://github.com/apache/pulsar-client-go/pull/701


   Signed-off-by: xiaolongran <[email protected]>
   
   ### Motivation
   
   In https://github.com/apache/pulsar-client-go/pull/700, we use a separate go 
rutine to handle the logic of reconnect, so here you may encounter the same 
data race problem as https://github.com/apache/pulsar-client-go/pull/535
   
   ### Modifications
   
   Now, the conn field is read and written atomically; avoiding race conditions.


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