You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Yakov Zhdanov (JIRA)" <ji...@apache.org> on 2016/12/06 11:15:58 UTC

[jira] [Created] (IGNITE-4375) Ignite should stop on some events and Exception types

Yakov Zhdanov created IGNITE-4375:
-------------------------------------

             Summary: Ignite should stop on some events and Exception types
                 Key: IGNITE-4375
                 URL: https://issues.apache.org/jira/browse/IGNITE-4375
             Project: Ignite
          Issue Type: Improvement
            Reporter: Yakov Zhdanov


Ignite should automatically stop if
* tcp server thread in discovery exits abnormally
* discovery message worker exits abnormally
* acceptor in communication exits abnormally
* nio worker in communication exits abnormally
* exchange worker exits abnormally
* Too many open files is thrown

we simply can run 
{noformat}
        new Thread(new Runnable() {
            @Override public void run() {
                G.stop("name", true);
            }
        }).start();
{noformat}
or 
{noformat}
Runtime.getRuntime().halt(1);
{noformat}

depending on situation.



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