Repository: ignite
Updated Branches:
  refs/heads/ignite-10666 [created] 5a5eeb0cc


ignite-10666


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

Branch: refs/heads/ignite-10666
Commit: 5a5eeb0ccf9a1c9fc9f5d09cac15789a496d1890
Parents: 67e9988
Author: sboikov <[email protected]>
Authored: Wed Dec 12 21:18:12 2018 +0300
Committer: sboikov <[email protected]>
Committed: Wed Dec 12 21:18:12 2018 +0300

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/5a5eeb0c/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 420e285..0dde269 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
@@ -6413,6 +6413,11 @@ public abstract class GridCacheMapEntry extends 
GridMetadataAwareAdapter impleme
 
             entry.update(updated, newExpireTime, newTtl, newVer, true);
 
+            if (entry.isNear()) {
+                boolean updatedDht = ((GridNearCacheEntry) 
entry).recordDhtVersion(newVer);
+                assert updatedDht : this;
+            }
+
             updateRes = new GridCacheUpdateAtomicResult(UpdateOutcome.SUCCESS,
                 oldVal,
                 updated,

Reply via email to