You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2016/06/28 12:12:24 UTC

[3/6] ignite git commit: ignite-3372: IgniteDataStreamer: pre-loading starvation if multiple streamers preload the same cache

ignite-3372: IgniteDataStreamer: pre-loading starvation if multiple streamers preload the same cache


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

Branch: refs/heads/ignite-3383
Commit: ac092f4160f4fb7481f231f7e4de619eb4fd8f44
Parents: 76c76f8
Author: Denis Magda <dm...@gridgain.com>
Authored: Tue Jun 28 09:52:13 2016 +0300
Committer: Denis Magda <dm...@gridgain.com>
Committed: Tue Jun 28 09:52:13 2016 +0300

----------------------------------------------------------------------
 .../cache/distributed/dht/GridDhtPartitionTopologyImpl.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/ac092f41/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtPartitionTopologyImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtPartitionTopologyImpl.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtPartitionTopologyImpl.java
index 2ab8a12..501388c 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtPartitionTopologyImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtPartitionTopologyImpl.java
@@ -652,7 +652,7 @@ class GridDhtPartitionTopologyImpl implements GridDhtPartitionTopology {
          * ===================================================
          */
 
-        GridDhtLocalPartition loc = localPartition(cctx.affinity().partition(e.key()), topologyVersion(), false);
+        GridDhtLocalPartition loc = localPartition(e.partition(), topologyVersion(), false);
 
         if (loc != null)
             loc.onRemoved(e);