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 Mon, 02 Nov 2015 11:45:38 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1758 df808625e -> 280fdf6fe


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/280fdf6f
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/280fdf6f
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/280fdf6f

Branch: refs/heads/ignite-1758
Commit: 280fdf6fec04c905810fe37747557db96a8ee080
Parents: df80862
Author: sboikov <sboikov@gridgain.com>
Authored: Mon Nov 2 14:45:32 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Mon Nov 2 14:45:32 2015 +0300

----------------------------------------------------------------------
 .../main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java  | 2 +-
 .../spi/discovery/tcp/messages/TcpDiscoveryNodeAddedMessage.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/280fdf6f/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 0fe2881..26c11a7 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
@@ -1778,7 +1778,7 @@ class ServerImpl extends TcpDiscoveryImpl {
                     Collection<TcpDiscoveryNode> top = new ArrayList<>(allNodes.size());
 
                     for (TcpDiscoveryNode n0 : allNodes) {
-                        assert n0.internalOrder() > 0 : n0;
+                        //assert n0.internalOrder() > 0 : n0;
 
                         if (n0.internalOrder() < node.internalOrder())
                             top.add(n0);

http://git-wip-us.apache.org/repos/asf/ignite/blob/280fdf6f/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryNodeAddedMessage.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryNodeAddedMessage.java
b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryNodeAddedMessage.java
index 6f8e14e..9f4a3fc 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryNodeAddedMessage.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryNodeAddedMessage.java
@@ -189,7 +189,7 @@ public class TcpDiscoveryNodeAddedMessage extends TcpDiscoveryAbstractMessage
{
      * @param top Topology at the moment when client joined.
      */
     public void clientTopology(Collection<TcpDiscoveryNode> top) {
-        assert top != null && !top.isEmpty() : top;
+        //assert top != null && !top.isEmpty() : top;
 
         this.clientTop = top;
     }


Mime
View raw message