You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/09/15 19:00:00 UTC

[4/4] ignite git commit: 1093

1093


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

Branch: refs/heads/ignite-1093-2
Commit: fdfa62f0ff67c3d8266f862e0a0b53e065a96f91
Parents: c45d2af
Author: Anton Vinogradov <av...@apache.org>
Authored: Tue Sep 15 18:40:07 2015 +0300
Committer: Anton Vinogradov <av...@apache.org>
Committed: Tue Sep 15 18:40:07 2015 +0300

----------------------------------------------------------------------
 .../distributed/dht/preloader/GridDhtPartitionDemander.java  | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/fdfa62f0/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionDemander.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionDemander.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionDemander.java
index 87a1a6b..aa7d90b 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionDemander.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionDemander.java
@@ -497,15 +497,9 @@ public class GridDhtPartitionDemander {
 
         final SyncFuture fut = syncFut;
 
-        if (!fut.topologyVersion().equals(topVer))
+        if (!fut.topologyVersion().equals(topVer))//will check topology changed at loop.
             return;
 
-        if (topologyChanged(topVer)) {
-            fut.cancel();
-
-            return;
-        }
-
         ClusterNode node = cctx.node(id);
 
         assert node != null;