Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6369D10907 for ; Tue, 3 Feb 2015 02:05:36 +0000 (UTC) Received: (qmail 52619 invoked by uid 500); 3 Feb 2015 02:05:37 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 52583 invoked by uid 500); 3 Feb 2015 02:05:37 -0000 Mailing-List: contact commits-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list commits@ignite.incubator.apache.org Received: (qmail 52574 invoked by uid 99); 3 Feb 2015 02:05:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2015 02:05:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 03 Feb 2015 02:05:35 +0000 Received: (qmail 52355 invoked by uid 99); 3 Feb 2015 02:05:15 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2015 02:05:15 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 6F0DCE0375; Tue, 3 Feb 2015 02:05:15 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: akuznetsov@apache.org To: commits@ignite.incubator.apache.org Date: Tue, 03 Feb 2015 02:05:15 -0000 Message-Id: <662bb9db6434428a96c318ad92db97c5@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [01/44] incubator-ignite git commit: #IGNITE-86: Do not write log if nothing was undeployed or it was system cache. X-Virus-Checked: Checked by ClamAV on apache.org Repository: incubator-ignite Updated Branches: refs/heads/ignite-82 8176780ae -> afeb022ae #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-82 Commit: edf0b1851ed95f6819f038e0e870f932af977004 Parents: cd86285 Author: ivasilinets Authored: Tue Jan 20 16:24:35 2015 +0300 Committer: ivasilinets 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 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,