ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [1/2] ignite git commit: Fixed GridCacheTtlManager.expire for case when near cache is enabled.
Date Mon, 09 Jan 2017 09:51:51 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-3477 06de69947 -> a74d5ee23


Fixed  GridCacheTtlManager.expire for case when near cache is enabled.


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

Branch: refs/heads/ignite-3477
Commit: 48b2653198070dd08ca1fdb878174b975c0b7fdc
Parents: ceff09c
Author: sboikov <sboikov@gridgain.com>
Authored: Mon Jan 9 12:51:36 2017 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Mon Jan 9 12:51:36 2017 +0300

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/48b26531/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheTtlManager.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheTtlManager.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheTtlManager.java
index bc09066..f34ab90 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheTtlManager.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheTtlManager.java
@@ -163,7 +163,7 @@ public class GridCacheTtlManager extends GridCacheManagerAdapter {
                     EntryWrapper e = pendingEntries.firstx();
 
                     if (e == null || e.expireTime > now)
-                        return false; // All expired entries are processed.
+                        break; // All expired entries are processed.
 
                     if (pendingEntries.remove(e)) {
                         if (obsoleteVer == null)


Mime
View raw message