ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject [18/21] incubator-ignite git commit: # sprint-2 Visor should process only started cahces.
Date Thu, 26 Mar 2015 14:09:55 GMT
# sprint-2 Visor should process only started cahces.


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

Branch: refs/heads/ignite-341-test
Commit: 3c216569e4c45951bea76c75196a531d2b0394be
Parents: b210159
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Thu Mar 26 16:13:17 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Thu Mar 26 16:13:17 2015 +0700

----------------------------------------------------------------------
 .../java/org/apache/ignite/internal/visor/cache/VisorCache.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/3c216569/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCache.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCache.java
b/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCache.java
index fd5e48a..98f602f 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCache.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/visor/cache/VisorCache.java
@@ -105,7 +105,7 @@ public class VisorCache implements Serializable {
         GridCacheAdapter ca = ((IgniteKernal)ignite).internalCache(cacheName);
 
         // Cache was not started.
-        if (ca == null)
+        if (ca == null || !ca.context().started())
             return null;
 
         long swapSize;


Mime
View raw message