[
https://issues.apache.org/jira/browse/SENTRY-1872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16117557#comment-16117557
]
Alexander Kolbasov commented on SENTRY-1872:
--------------------------------------------
Why would check for a server being reachable be any better then just an attempt
to connect to it? What extra value would it add to compensate for the extra
latency?
> Check if a Sentry server is accessible before connecting to it
> --------------------------------------------------------------
>
> Key: SENTRY-1872
> URL: https://issues.apache.org/jira/browse/SENTRY-1872
> Project: Sentry
> Issue Type: Bug
> Components: Sentry
> Affects Versions: 2.0.0
> Reporter: Arjun Mishra
> Assignee: Arjun Mishra
> Attachments: SENTRY-1872.01.patch
>
>
> For Sentry HA, if one of the server is unreachable for any reason, we would
> still try to connect to it, and only switch to other server after a timeout
> exception is thrown. We should instead check if the server is reachable first
> before we try connecting to it
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)