You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksey Plekhanov (Jira)" <ji...@apache.org> on 2020/07/10 06:41: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=17155199#comment-17155199 ]
Aleksey Plekhanov commented on IGNITE-12930:
--------------------------------------------
Looks like review started, but not finished.
[~mmuzaf], do you have plans to finish the review to resolve the ticket in the 2.9 release?
> 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: 1.5h
> 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)