ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yzhda...@apache.org
Subject [25/50] [abbrv] ignite git commit: IGNITE-6460 Fixed consistentId used in lightweight ClusterNode. Fixes #2707
Date Fri, 13 Oct 2017 17:43:10 GMT
IGNITE-6460 Fixed consistentId used in lightweight ClusterNode. Fixes #2707


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/49a36319
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/49a36319
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/49a36319

Branch: refs/heads/ignite-2.1.5-p1
Commit: 49a3631937b09c2fa795d29411635b3b5f82f15a
Parents: e82f077
Author: Eduard Shangareev <eduard.shangareev@gmail.com>
Authored: Thu Sep 21 18:55:00 2017 +0300
Committer: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Committed: Thu Sep 21 18:57:33 2017 +0300

----------------------------------------------------------------------
 .../ignite/spi/discovery/tcp/internal/TcpDiscoveryNode.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/49a36319/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/internal/TcpDiscoveryNode.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/internal/TcpDiscoveryNode.java
b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/internal/TcpDiscoveryNode.java
index b2797a40..20fb6c5 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/internal/TcpDiscoveryNode.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/internal/TcpDiscoveryNode.java
@@ -652,7 +652,7 @@ public class TcpDiscoveryNode extends GridMetadataAwareAdapter implements
Cluste
 
     /**
      * IMPORTANT!
-     * Only purpose of this constructor is creating node which contains only necessary data
to store on disc
+     * Only purpose of this constructor is creating node which contains necessary data to
store on disc only
      * @param node to copy data from
      */
     public TcpDiscoveryNode(
@@ -667,6 +667,6 @@ public class TcpDiscoveryNode extends GridMetadataAwareAdapter implements
Cluste
         this.daemon = node.isDaemon();
         this.clientRouterNodeId = node.isClient() ? node.id() : null;
 
-        attrs = Collections.emptyMap();
+        attrs = Collections.singletonMap(ATTR_NODE_CONSISTENT_ID, consistentId);
     }
 }


Mime
View raw message