You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by yz...@apache.org on 2015/10/15 10:54:24 UTC

ignite git commit: assertion added for test purposes

Repository: ignite
Updated Branches:
  refs/heads/ignite-mvcc-opt [created] 0e900fd6d


assertion added for test purposes


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

Branch: refs/heads/ignite-mvcc-opt
Commit: 0e900fd6dea427bf626b8ee7795e8c044208d657
Parents: 962fcce
Author: Yakov Zhdanov <yz...@gridgain.com>
Authored: Thu Oct 15 11:53:45 2015 +0300
Committer: Yakov Zhdanov <yz...@gridgain.com>
Committed: Thu Oct 15 11:53:45 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/0e900fd6/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMvccManager.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMvccManager.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMvccManager.java
index 0960c9d..869515c 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMvccManager.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMvccManager.java
@@ -467,6 +467,8 @@ public class GridCacheMvccManager extends GridCacheSharedManagerAdapter {
                     }
                 });
 
+            assert old == null : fut;
+
             if (old != null) {
                 boolean empty, dup = false;
 
@@ -1250,4 +1252,4 @@ public class GridCacheMvccManager extends GridCacheSharedManagerAdapter {
                 return S.toString(FinishLockFuture.class, this, super.toString());
         }
     }
-}
\ No newline at end of file
+}