ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject incubator-ignite git commit: # IGNITE-283: Fixes (3).
Date Tue, 24 Feb 2015 08:44:04 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-283-tx ff745817f -> 69b4540f1


# IGNITE-283: Fixes (3).


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

Branch: refs/heads/ignite-283-tx
Commit: 69b4540f1a0632c72a9f817eeb23ee31333aec7c
Parents: ff74581
Author: vozerov <vozerov@gridgain.com>
Authored: Tue Feb 24 11:43:53 2015 +0300
Committer: vozerov <vozerov@gridgain.com>
Committed: Tue Feb 24 11:43:53 2015 +0300

----------------------------------------------------------------------
 .../internal/processors/cache/transactions/IgniteTxAdapter.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/69b4540f/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxAdapter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxAdapter.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxAdapter.java
index ae4020a..abdb99c 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxAdapter.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxAdapter.java
@@ -1328,7 +1328,7 @@ public abstract class IgniteTxAdapter<K, V> extends GridMetadataAwareAdapter
 
         // 1.3. If TTL is still not changed, then either use old entry TTL or set it to "ETERNAL".
         if (newTtl == CU.TTL_NOT_CHANGED) {
-            if (old.isNew())
+            if (old.isNewLocked())
                 newTtl = CU.TTL_ETERNAL;
             else {
                 newTtl = old.rawTtl();


Mime
View raw message