wolfstudy commented on a change in pull request #157: [issue:144] Add retry 
logic when get connection error
URL: https://github.com/apache/pulsar-client-go/pull/157#discussion_r363092704
 
 

 ##########
 File path: pulsar/internal/connection_pool.go
 ##########
 @@ -65,7 +65,7 @@ func (p *connectionPool) GetConnection(logicalAddr *url.URL, 
physicalAddr *url.U
                        return cnx, nil
                }
                // The cached connection is failed
-               p.pool.Delete(logicalAddr.Host)
+               p.pool.Delete(fmt.Sprintf("%s:%v", logicalAddr.Host, 
connectingThroughProxy))
 
 Review comment:
   Yes, will close the change.

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