You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2020/04/21 22:39:00 UTC

[jira] [Updated] (IGNITE-12930) DistributedProcess fails node if unable to send single message to coordinator

     [ https://issues.apache.org/jira/browse/IGNITE-12930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maxim Muzafarov updated IGNITE-12930:
-------------------------------------
    Ignite Flags:   (was: Docs Required,Release Notes Required)

> DistributedProcess fails node if unable to send single message to coordinator
> -----------------------------------------------------------------------------
>
>                 Key: IGNITE-12930
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12930
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Maxim Muzafarov
>            Priority: Major
>
> The [DistributedProcess|https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/util/distributed/DistributedProcess.java] fails the local node ({{FailureHandler}} CRITICAL_ERROR thrown) if unable to send a message to the coordinator (e.g. the coordinator fails right before the single message is sent).
> {code:java}
>             try {
>                 ctx.io().sendToGridTopic(p.crdId, GridTopic.TOPIC_DISTRIBUTED_PROCESS, singleMsg, SYSTEM_POOL);
>             }
>             catch (IgniteCheckedException e) {
>                 log.error("Unable to send message to coordinator.", e);
>                 ctx.failure().process(new FailureContext(CRITICAL_ERROR,
>                     new Exception("Unable to send message to coordinator.", e)));
>             }
> {code}
> h4. Expected behaviour
> If the {{ClusterTopologyCheckedException}} occurs need to wait for the NODE_LEFT event of the coordinator node and re-init the distributed process future.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)