ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yakov Zhdanov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-85) Need ability to ignore exceptions when broadcasting closures
Date Wed, 07 Jan 2015 14:00:36 GMT
Yakov Zhdanov created IGNITE-85:

             Summary: Need ability to ignore exceptions when broadcasting closures
                 Key: IGNITE-85
                 URL: https://issues.apache.org/jira/browse/IGNITE-85
             Project: Ignite
          Issue Type: Bug
            Reporter: Yakov Zhdanov
            Priority: Minor

Let's say I have a simple broadcast task for the grid:

{{grid.compute().broadcast(new MyCallable());}}

Let's also say one of the callables has thrown an exception. Currently the future will be
failed immediately after the first failure and remaining callables will be cancelled.

In some cases it is useful to wait for all jobs to complete regardless whether some of them
failed or not. The only way to override this behavior now is to implement GridTask which is
very heavy. What if we add another hint method like {{withNoFailover()}} to compute projection
to provide this functionality?

This message was sent by Atlassian JIRA

View raw message