You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2020/04/23 09:19:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17090424#comment-17090424 ] 

Ignite TC Bot commented on IGNITE-12930:
----------------------------------------

{panel:title=Branch: [pull/7714/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=5248855&amp;buildTypeId=IgniteTests24Java8_RunAll]

> 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: Bug
>            Reporter: Maxim Muzafarov
>            Assignee: Amelchev Nikita
>            Priority: Major
>             Fix For: 2.9
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)