Ivan Bessonov created IGNITE-12487: -------------------------------------- Summary: Inconsistent GridIoManager API for sendToGridTopic(Collection nodes) and sendToGridTopic(UUID nodeId) Key: IGNITE-12487 URL: https://issues.apache.org/jira/browse/IGNITE-12487 Project: Ignite Issue Type: Improvement Reporter: Ivan Bessonov Assignee: Ivan Bessonov Fix For: 2.9
Method {{1}}{{ctx.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 {{1}}{{ctx.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. -- This message was sent by Atlassian Jira (v8.3.4#803005)