You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2016/12/29 09:37:45 UTC

[41/50] [abbrv] ignite git commit: ignite-gg-11650 Stabilize 8.0.2.ea1 fix for generated full api tests

ignite-gg-11650 Stabilize 8.0.2.ea1 fix for generated full api tests


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

Branch: refs/heads/ignite-3477
Commit: cb5633317c9071369ddde1c568e4479a7ccc0557
Parents: 8070da3
Author: Dmitriy Govorukhin <dg...@gridgain.com>
Authored: Mon Dec 26 16:26:30 2016 +0300
Committer: Dmitriy Govorukhin <dg...@gridgain.com>
Committed: Mon Dec 26 16:26:30 2016 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/cache/GridCacheProcessor.java   | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/cb563331/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
index d9d6c2e..554d062 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
@@ -781,7 +781,7 @@ public class GridCacheProcessor extends GridProcessorAdapter {
                     ctx.config().setCacheConfiguration(newCacheCfg);
                 }
 
-                activeOnStart = ctx.state().active();
+                activeOnStart = currentStatus;
             }
 
             if (activeOnStart)
@@ -849,6 +849,10 @@ public class GridCacheProcessor extends GridProcessorAdapter {
         for (GridCacheAdapter<?, ?> cache : caches.values())
             onKernalStart(cache);
 
+        //todo
+     /*   if (!ctx.state().active())
+            return;*/
+
         ctx.marshallerContext().onMarshallerCacheStarted(ctx);
 
         if (!ctx.config().isDaemon())