ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject ignite git commit: ignite-1758 debug
Date Thu, 05 Nov 2015 14:34:16 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1758 d2f948d93 -> 7b498a60d


ignite-1758 debug


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

Branch: refs/heads/ignite-1758
Commit: 7b498a60d11bfffbbf64406ac683f5004b5112db
Parents: d2f948d
Author: sboikov <sboikov@gridgain.com>
Authored: Thu Nov 5 17:34:05 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Thu Nov 5 17:34:05 2015 +0300

----------------------------------------------------------------------
 .../main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/7b498a60/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java
b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java
index 89669b5..0ac7e59 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java
@@ -3489,6 +3489,9 @@ class ServerImpl extends TcpDiscoveryImpl {
                             spi.gridStartTime = msg.gridStartTime();
 
                             for (TcpDiscoveryNode n : top) {
+                                assert n.internalOrder() < node.internalOrder() :
+                                    "Invalid node [topNode=" + n + ", added=" + node + ']';
+
                                 // Make all preceding nodes and local node visible.
                                 n.visible(true);
                             }


Mime
View raw message