ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: ignite-929
Date Thu, 11 Jun 2015 12:57:16 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-929 025feeaaf -> 65a143d8d


ignite-929


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

Branch: refs/heads/ignite-929
Commit: 65a143d8da8e767c898f5a651a8297e8af618518
Parents: 025feea
Author: avinogradov <avinogradov@gridgain.com>
Authored: Thu Jun 11 15:56:58 2015 +0300
Committer: avinogradov <avinogradov@gridgain.com>
Committed: Thu Jun 11 15:56:58 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/65a143d8/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheGateway.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheGateway.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheGateway.java
index d239d94..d65f00b 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheGateway.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheGateway.java
@@ -153,7 +153,7 @@ public class GridCacheGateway<K, V> {
             throw new IllegalStateException("Cache has been stopped: " + ctx.name());
         }
 
-        if (closed.get()) {
+        if (closed.get() == null || closed.get()) {
             rwLock.readUnlock();
 
             throw new IllegalStateException("Cache has been closed: " + ctx.name());


Mime
View raw message