You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by gi...@git.apache.org on 2017/07/07 22:03:34 UTC

[GitHub] jai1 opened a new pull request #555: Fix for Problems in lookup flow in C++ Client (#551) - Issue 2

jai1 opened a new pull request #555: Fix for Problems in lookup flow in C++ Client (#551) - Issue 2
URL: https://github.com/apache/incubator-pulsar/pull/555
 
 
   ### Motivation
   
   There are locking inconsistencies wrt HandlerBase.connection_
   
   ### Modifications
   
   Added a lock to the following methods, to check/change the connection_  pointer
   - ProducerImpl.disconnectProducer()
   - ConsumerImpl.disconnectConsumer()
   - HandlerBase.grabCnx()
   - ConsumerImpl.handleCreateConsumer()
   
   ### Result
   
   No functional changes, but will help in reducing the number of race conditions.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services