ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [2/3] ignite git commit: Call updateRebalanceVersion after evictions (was broken in c6fbe2d82a9f56f96c94551b09e85a12d192f32e);
Date Wed, 02 Aug 2017 14:36:54 GMT
Call updateRebalanceVersion after evictions (was broken in c6fbe2d82a9f56f96c94551b09e85a12d192f32e);


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

Branch: refs/heads/ignite-5578
Commit: b27768288ff9e33294741782d456a43eda5249ce
Parents: 20d9ad5
Author: sboikov <sboikov@gridgain.com>
Authored: Wed Aug 2 17:25:31 2017 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Wed Aug 2 17:25:31 2017 +0300

----------------------------------------------------------------------
 .../cache/distributed/dht/GridDhtPartitionTopologyImpl.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/b2776828/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 880a102..d7a224c 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
@@ -623,11 +623,11 @@ public class GridDhtPartitionTopologyImpl implements GridDhtPartitionTopology
{
 
             List<List<ClusterNode>> aff = grp.affinity().assignments(topVer);
 
-            updateRebalanceVersion(aff);
-
             if (node2part != null && node2part.valid())
                 changed |= checkEvictions(updateSeq, aff);
 
+            updateRebalanceVersion(aff);
+
             consistencyCheck();
         }
         finally {


Mime
View raw message