You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2019/12/30 16:17:22 UTC

[ignite] branch master updated: IGNITE-12487 Removed wrong assertion from GridIoManager#sendToGridTopic.

This is an automated email from the ASF dual-hosted git repository.

agura pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new 5238ca2  IGNITE-12487 Removed wrong assertion from GridIoManager#sendToGridTopic.
5238ca2 is described below

commit 5238ca291400e1da408f5a1cd0d25868c12e3477
Author: ibessonov <be...@gmail.com>
AuthorDate: Mon Dec 30 19:16:44 2019 +0300

    IGNITE-12487 Removed wrong assertion from GridIoManager#sendToGridTopic.
    
    Signed-off-by: Andrey Gura <ag...@apache.org>
---
 .../apache/ignite/internal/managers/communication/GridIoManager.java   | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/GridIoManager.java b/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/GridIoManager.java
index 799625d..9a763e1 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/GridIoManager.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/GridIoManager.java
@@ -2231,9 +2231,6 @@ public class GridIoManager extends GridManagerAdapter<CommunicationSpi<Serializa
         Message msg,
         byte plc
     ) throws IgniteCheckedException {
-        assert F.find(nodes, null, F.localNode(locNodeId)) == null :
-            "Internal Ignite code should never call the method with local node in a node list.";
-
         IgniteCheckedException err = null;
 
         for (ClusterNode node : nodes) {