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 EA61717C44 for ; Thu, 9 Apr 2015 14:28:25 +0000 (UTC) Received: (qmail 18778 invoked by uid 500); 9 Apr 2015 14:28:22 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 18706 invoked by uid 500); 9 Apr 2015 14:28:22 -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 18688 invoked by uid 99); 9 Apr 2015 14:28:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2015 14:28:22 +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; Thu, 09 Apr 2015 14:28:21 +0000 Received: (qmail 18289 invoked by uid 99); 9 Apr 2015 14:28:00 -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; Thu, 09 Apr 2015 14:28:00 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D2C5DDFFE6; Thu, 9 Apr 2015 14:28:00 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sboikov@apache.org To: commits@ignite.incubator.apache.org Date: Thu, 09 Apr 2015 14:28:28 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [29/50] incubator-ignite git commit: # ignite-694 X-Virus-Checked: Checked by ClamAV on apache.org # ignite-694 Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/998d1fa4 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/998d1fa4 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/998d1fa4 Branch: refs/heads/ignite-696 Commit: 998d1fa4e2f5515ed7f008ac2f866ce0178638cd Parents: 9eb3fce Author: sboikov Authored: Thu Apr 9 10:41:27 2015 +0300 Committer: sboikov Committed: Thu Apr 9 10:41:27 2015 +0300 ---------------------------------------------------------------------- .../processors/cache/GridCachePartitionExchangeManager.java | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/998d1fa4/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCachePartitionExchangeManager.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCachePartitionExchangeManager.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCachePartitionExchangeManager.java index 0955328..7a1324f 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCachePartitionExchangeManager.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCachePartitionExchangeManager.java @@ -796,6 +796,9 @@ public class GridCachePartitionExchangeManager extends GridCacheSharedMana GridCacheContext cacheCtx = cctx.cacheContext(cacheId); + if (cacheCtx != null && !cacheCtx.started()) + continue; // Can safely ignore background exchange. + GridDhtPartitionTopology top = null; if (cacheCtx == null)