You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Valentin Kulichenko (JIRA)" <ji...@apache.org> on 2015/12/14 22:26:46 UTC

[jira] [Created] (IGNITE-2160) Ignition.start() is blocked if there are no server nodes

Valentin Kulichenko created IGNITE-2160:
-------------------------------------------

             Summary: Ignition.start() is blocked if there are no server nodes
                 Key: IGNITE-2160
                 URL: https://issues.apache.org/jira/browse/IGNITE-2160
             Project: Ignite
          Issue Type: Bug
            Reporter: Valentin Kulichenko
            Priority: Critical
             Fix For: 1.6


A node (server or client) should always start without blocking the thread that called {{Ignition.start()}}. Current behavior is confusing and undesirable - e.g., if a node is embedded into web application, the whole application startup process is stuck.

Additionally, if there are no servers, client node should throw {{IgniteClientDisconnectedException}} on all API calls. It already works this way if all servers leave while client is running.

@dev list discussion: http://apache-ignite-developers.2346864.n4.nabble.com/Client-connect-quot-hangs-quot-td5765.html



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