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/773c2c47 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/773c2c47 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/773c2c47 Branch: refs/heads/ignite-1758 Commit: 773c2c4739cee5f74ded7821575c495939276d31 Parents: df68b0d Author: sboikov <sboi...@gridgain.com> Authored: Mon Nov 2 15:51:51 2015 +0300 Committer: sboikov <sboi...@gridgain.com> Committed: Mon Nov 2 15:51:51 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/773c2c47/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 26c11a7..0fe2881 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/773c2c47/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 9f4a3fc..6f8e14e 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; }