[jira] [Created] (IGNITE-8097) Java thin client: throw handshake exception on connect phase

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-8097) Java thin client: throw handshake exception on connect phase

Anton Vinogradov (Jira)
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)