ignite-3372: IgniteDataStreamer: pre-loading starvation if multiple streamers preload the same cache (cherry picked from commit ac092f4)
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/58716064 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/58716064 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/58716064 Branch: refs/heads/ignite-1232 Commit: 587160645d8f9209a7ac42b75d79e30669939133 Parents: 16ffe6e Author: Denis Magda <[email protected]> Authored: Tue Jun 28 09:52:13 2016 +0300 Committer: Denis Magda <[email protected]> Committed: Wed Jun 29 14:41:26 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/58716064/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 4be0acb..868e9db 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 @@ -770,7 +770,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);
