ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-8097) Java thin client: throw handshake exception on connect phase
Date Mon, 02 Apr 2018 08:23:00 GMT
Vladimir Ozerov created IGNITE-8097:
---------------------------------------

             Summary: Java thin client: throw handshake exception on connect phase
                 Key: IGNITE-8097
                 URL: https://issues.apache.org/jira/browse/IGNITE-8097
             Project: Ignite
          Issue Type: Task
          Components: thin client
            Reporter: Vladimir Ozerov
             Fix For: 2.5


Currently a call to {{Ignition.startClient}} return client instance even if we know for sure
that connection is not usable. Real exception (e.g. protocol mismatch, auth error, etc.) is
thrown on attempt to execute first operation on the client. This is bad UX - use may think
that everything is OK for a long time.

Instead, connection should be established eagerly in {{startClient}}, any exception should
be propagated to the user immediately.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message