ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [01/43] incubator-ignite git commit: #IGNITE-86: Do not write log if nothing was undeployed or it was system cache.
Date Mon, 02 Feb 2015 14:16:53 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-26 addef7ebf -> cd4040d5b


#IGNITE-86: Do not write log if nothing was undeployed or it was system cache.


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

Branch: refs/heads/ignite-26
Commit: edf0b1851ed95f6819f038e0e870f932af977004
Parents: cd86285
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Tue Jan 20 16:24:35 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Tue Jan 20 16:24:35 2015 +0300

----------------------------------------------------------------------
 .../grid/kernal/processors/cache/GridCacheDeploymentManager.java  | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/edf0b185/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheDeploymentManager.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheDeploymentManager.java
b/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheDeploymentManager.java
index 92052f5..58fe292 100644
--- a/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheDeploymentManager.java
+++ b/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheDeploymentManager.java
@@ -298,6 +298,9 @@ public class GridCacheDeploymentManager<K, V> extends GridCacheSharedManagerAdap
                 cacheCtx.near().dht().context().swap().onUndeploy(leftNodeId, ldr) :
                 cacheCtx.swap().onUndeploy(leftNodeId, ldr);
 
+            if (keys.size() == 0 || cacheCtx.system())
+                continue;
+
             U.quietAndWarn(log, "");
             U.quietAndWarn(
                 log,


Mime
View raw message