[ 
https://issues.apache.org/jira/browse/SENTRY-1477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15549600#comment-15549600
 ] 

Alexander Kolbasov commented on SENTRY-1477:
--------------------------------------------

It may be a good idea to randomly shuffle the list of connections if its length 
is greater than two. Otherwise all clients will move at once to the same new 
server when something fails. Also it may be a good idea to introduce some small 
random sleep after going through the full cycle of connections.

> Sentry clients should retry with another server when they get connection 
> errors
> -------------------------------------------------------------------------------
>
>                 Key: SENTRY-1477
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1477
>             Project: Sentry
>          Issue Type: Sub-task
>          Components: Core
>    Affects Versions: sentry-ha-redesign
>            Reporter: Alexander Kolbasov
>            Assignee: Li Li
>             Fix For: sentry-ha-redesign
>
>         Attachments: SENTRY-1477.0-sentry-ha-redesign.patch
>
>
> When Sentry clients get a connection error when talking to a server they 
> should re-try connection with another server. This should be normal client 
> behavior when one of the servers goes down.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to