Repository: ignite Updated Branches: refs/heads/master c12f1c519 -> 859b37cc8
ignite-10666 For near cache entry in atomic cache init dhtVer after update Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/859b37cc Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/859b37cc Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/859b37cc Branch: refs/heads/master Commit: 859b37cc8016e4d12178d80e717bd52f992d6e34 Parents: c12f1c5 Author: sboikov <[email protected]> Authored: Thu Dec 13 09:44:17 2018 +0300 Committer: sboikov <[email protected]> Committed: Thu Dec 13 09:44:17 2018 +0300 ---------------------------------------------------------------------- .../ignite/internal/processors/cache/GridCacheMapEntry.java | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/859b37cc/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..b5f9dfc 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,
