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/03/24 08:53:42 UTC

[12/14] ignite git commit: Reverted accidental change to GridCacheMapEntry (commit b189bb2e15e7a54).

Reverted accidental change to GridCacheMapEntry (commit  b189bb2e15e7a54).


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

Branch: refs/heads/ignite-gg-10994
Commit: 88c65b84847244401eb6a7c520bbbcb2158685c0
Parents: 90a5bbe
Author: vozerov-gridgain <vo...@gridgain.com>
Authored: Thu Mar 24 10:40:15 2016 +0300
Committer: vozerov-gridgain <vo...@gridgain.com>
Committed: Thu Mar 24 10:40:15 2016 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/cache/GridCacheMapEntry.java  | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/88c65b84/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java
index 6677c6a..fb6aeef 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java
@@ -2453,12 +2453,10 @@ public abstract class GridCacheMapEntry extends GridMetadataAwareAdapter impleme
 
                 recordNodeId(affNodeId, topVer);
 
-                if (hadVal) {
-                    updateCntr0 = nextPartCounter(topVer);
+                updateCntr0 = nextPartCounter(topVer);
 
-                    if (updateCntr != null)
-                        updateCntr0 = updateCntr;
-                }
+                if (updateCntr != null)
+                    updateCntr0 = updateCntr;
 
                 drReplicate(drType, null, newVer, topVer);