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

Inconsistent GridIoManager API for sendToGridTopic(Collection nodes) and sendToGridTopic(UUID nodeId)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9
    • None
    • None
    • Docs Required, Release Notes Required

    Description

      Method
      1ctx.io().sendToGridTopic(Collection nodes, ....)
      will throw exception "Internal Ignite code should never call the method with local node in a node list."

      But at the same time
      1ctx.io().sendToGridTopic(((IgniteEx)ignite).localNode().id(), ...)
      Works without any exception.

      From my point of view we should not throw exception.
      Processing messages in common listener is much more comfortable than writing same code twice, one for remote nodes and one for local.

      Attachments

        Issue Links

          Activity

            People

              ibessonov Ivan Bessonov
              ibessonov Ivan Bessonov
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 0.5h
                  0.5h