Jim-Lambert-Bose opened a new pull request #121: [Issue 120] 
[connection_pool.go] fixing data race when GetConnection() reads connection 
attribs
URL: https://github.com/apache/pulsar-client-go/pull/121
 
 
   # Motivation
   https://github.com/apache/pulsar-client-go/issues/120
   
   fixing race condition caused by reading attribs protected by sync.Mutex but 
mutex was not locked/unlocked
   
   # Modifications
   Simply locked/unlocked connection since there's a mutex embedded in it, when 
reading attribs from the connection
   
   ### Verifying this change
   
   This change is a trivial rework / code cleanup without any test coverage.
   ### Does this pull request potentially affect one of the following parts:
   
   ### Documentation
   
     - Does this pull request introduce a new feature? no

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


With regards,
Apache Git Services

Reply via email to