You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2018/08/22 13:34:39 UTC
ignite git commit: IGNITE-9273 Log updates for ATOMIC cache
Repository: ignite
Updated Branches:
refs/heads/ignite-9273 8ff65456b -> 54d0af6b6
IGNITE-9273 Log updates for ATOMIC cache
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/54d0af6b
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/54d0af6b
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/54d0af6b
Branch: refs/heads/ignite-9273
Commit: 54d0af6b6f9289314d37eaea22505cdea99dab6d
Parents: 8ff6545
Author: Alexey Goncharuk <al...@gmail.com>
Authored: Wed Aug 22 16:34:28 2018 +0300
Committer: Alexey Goncharuk <al...@gmail.com>
Committed: Wed Aug 22 16:34:28 2018 +0300
----------------------------------------------------------------------
.../ignite/internal/processors/cache/GridCacheMapEntry.java | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/54d0af6b/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 53c3945..230864d 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
@@ -1615,6 +1615,8 @@ public abstract class GridCacheMapEntry extends GridMetadataAwareAdapter impleme
update(updated, expireTime, ttl, ver, true);
+ logUpdate(op, updated, ver, expireTime, 0);
+
if (evt) {
CacheObject evtOld = null;
@@ -1645,6 +1647,8 @@ public abstract class GridCacheMapEntry extends GridMetadataAwareAdapter impleme
update(null, CU.TTL_ETERNAL, CU.EXPIRE_TIME_ETERNAL, ver, true);
+ logUpdate(op, null, ver, CU.EXPIRE_TIME_ETERNAL, 0);
+
if (evt) {
CacheObject evtOld = null;