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

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

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

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