morningman opened a new pull request #408: Clear client pool when heartbeat 
failed
URL: https://github.com/apache/incubator-doris/pull/408
 
 
   When heartbeat failed, we should clear the connections cached
   in client pool, or we will get broken connections from the pool.
   Since we don't have the REOPEN logic(which may cause ugly code style),
   a broken connection may cause a rpc blocked and failed.
   So clear them all and recreate them when needed is a simple way to
   resolve this problem.
   
   We only clear connections in backend and broker pool.
   No need to clear heartbeat pool because heartbeat is very frequent,
   such the connections can be invalid automatically.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to