ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [28/37] incubator-ignite git commit: #ignite-373: Remove unused debug.
Date Tue, 12 May 2015 11:30:47 GMT
#ignite-373: Remove unused debug.


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

Branch: refs/heads/ignite-373
Commit: 7624e4474ae0783a151e8e3d97b456c30c77a069
Parents: 735e9cf
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Tue May 12 12:03:40 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Tue May 12 12:03:40 2015 +0300

----------------------------------------------------------------------
 .../cache/distributed/GridDistributedCacheAdapter.java    | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/7624e447/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedCacheAdapter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedCacheAdapter.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedCacheAdapter.java
index edad1d2..8958637 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedCacheAdapter.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedCacheAdapter.java
@@ -147,7 +147,6 @@ public abstract class GridDistributedCacheAdapter<K, V> extends
GridCacheAdapter
             do {
                 removed = true;
 
-                System.out.println("!!!!Redone remove all");
                 topVer = ctx.affinity().affinityTopologyVersion();
 
                 // Send job to all data nodes.
@@ -293,10 +292,8 @@ public abstract class GridDistributedCacheAdapter<K, V> extends
GridCacheAdapter
             ctx.gate().enter();
 
             try {
-                if (!ctx.affinity().affinityTopologyVersion().equals(topVer)) {
-                    System.out.println("!!!! have different version");
+                if (!ctx.affinity().affinityTopologyVersion().equals(topVer))
                     return new Integer(-1); // Ignore this remove request because remove
request will be sent again.
-                }
 
                 GridDhtCacheAdapter<K, V> dht;
                 GridNearCacheAdapter<K, V> near = null;
@@ -349,11 +346,8 @@ public abstract class GridDistributedCacheAdapter<K, V> extends
GridCacheAdapter
                 ctx.gate().leave();
             }
 
-            if (!ctx.affinity().affinityTopologyVersion().equals(topVer)) {
-                System.out.println("!!!! have different version in the end.");
-
+            if (!ctx.affinity().affinityTopologyVersion().equals(topVer))
                 return new Integer(-1);
-            }
 
             return null;
         }


Mime
View raw message