ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject ignite git commit: ignite-4652 Atomic update refactoring to use BPlusTree.invoke.
Date Thu, 09 Feb 2017 12:07:35 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-4652 c4976dd26 -> 5f83c94de


ignite-4652 Atomic update refactoring to use BPlusTree.invoke.


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

Branch: refs/heads/ignite-4652
Commit: 5f83c94dee08b6cb6c72affe656b7d6093d9b1c3
Parents: c4976dd
Author: sboikov <sboikov@gridgain.com>
Authored: Thu Feb 9 15:07:12 2017 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Thu Feb 9 15:07:12 2017 +0300

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/5f83c94d/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 5b7f4a5..6b6fb90 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
@@ -1770,7 +1770,8 @@ public abstract class GridCacheMapEntry extends GridMetadataAwareAdapter
impleme
                 }
             }
 
-            updateMetrics(c.op, metrics);
+            if (updateRes.success())
+                updateMetrics(c.op, metrics);
 
             // Continuous query filter should be perform under lock.
             if (lsnrs != null) {


Mime
View raw message