Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-12930

DistributedProcess fails node if unable to send single message to coordinator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.9
    • None
    • None

    Description

      The DistributedProcess 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).

                  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)));
                  }
      

      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.

      Attachments

        Issue Links

          Activity

            People

              NSAmelchev Nikita Amelchev
              mmuzaf Maxim Muzafarov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m