ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject ignite git commit: 1093
Date Sun, 11 Oct 2015 16:34:26 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1093-2 cf633b373 -> 3ba275f80


1093


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

Branch: refs/heads/ignite-1093-2
Commit: 3ba275f80594286d066955f6309058e09a4126a7
Parents: cf633b3
Author: Anton Vinogradov <avinogradov@gridgain.com>
Authored: Sun Oct 11 19:34:02 2015 +0300
Committer: Anton Vinogradov <avinogradov@gridgain.com>
Committed: Sun Oct 11 19:34:02 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/3ba275f8/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPreloader.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPreloader.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPreloader.java
index 21bb352..b563c15 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPreloader.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPreloader.java
@@ -314,7 +314,7 @@ public class GridDhtPreloader extends GridCachePreloaderAdapter {
                         log.debug("Owning partition as there are no other owners: " + part);
                 }
                 else {
-                    ClusterNode n = F.first(picked);
+                    ClusterNode n = F.rand(picked);
 
                     GridDhtPartitionDemandMessage msg = assigns.get(n);
 


Mime
View raw message