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 02EEC178B7 for ; Thu, 11 Jun 2015 12:16:55 +0000 (UTC) Received: (qmail 78509 invoked by uid 500); 11 Jun 2015 12:16:54 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 78477 invoked by uid 500); 11 Jun 2015 12:16:54 -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 78466 invoked by uid 99); 11 Jun 2015 12:16:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jun 2015 12:16:54 +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, 11 Jun 2015 12:14:44 +0000 Received: (qmail 78345 invoked by uid 99); 11 Jun 2015 12:16:30 -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, 11 Jun 2015 12:16:30 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id CC966DFFD5; Thu, 11 Jun 2015 12:16:30 +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 Message-Id: <4f6f424696e74a7b833069783a17a417@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-ignite git commit: #sberb-27: do not check store for client nodes. Date: Thu, 11 Jun 2015 12:16:30 +0000 (UTC) X-Virus-Checked: Checked by ClamAV on apache.org Repository: incubator-ignite Updated Branches: refs/heads/sberb-27 f64ff3eab -> 0773efd02 #sberb-27: do not check store for client nodes. Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/0773efd0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/0773efd0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/0773efd0 Branch: refs/heads/sberb-27 Commit: 0773efd02305631c2cb86cc68ee38bef84f4f498 Parents: f64ff3e Author: ivasilinets Authored: Thu Jun 11 15:16:24 2015 +0300 Committer: ivasilinets Committed: Thu Jun 11 15:16:24 2015 +0300 ---------------------------------------------------------------------- .../ignite/internal/processors/cache/GridCacheProcessor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0773efd0/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 5582ba7..694a478 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 @@ -2285,7 +2285,8 @@ public class GridCacheProcessor extends GridProcessorAdapter { if (!isLocAff && isRmtAff && locCfg.getAtomicityMode() == TRANSACTIONAL) { checkStore = locAttr.storeFactoryClassName() != null; - if (locAttr.storeFactoryClassName() == null && rmtAttr.storeFactoryClassName() != null) + if (locAttr.storeFactoryClassName() == null && rmtAttr.storeFactoryClassName() != null && + isRmtAff && isLocAff) desc.updatesAllowed(false); } else