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 6F7DF18518 for ; Tue, 11 Aug 2015 07:28:18 +0000 (UTC) Received: (qmail 85905 invoked by uid 500); 11 Aug 2015 07:27:44 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 85872 invoked by uid 500); 11 Aug 2015 07:27:44 -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 85863 invoked by uid 99); 11 Aug 2015 07:27:44 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Aug 2015 07:27:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 26967C0DF9 for ; Tue, 11 Aug 2015 07:27:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.791 X-Spam-Level: * X-Spam-Status: No, score=1.791 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id r4wY1YeQB86h for ; Tue, 11 Aug 2015 07:27:29 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id 2DD2134A8F for ; Tue, 11 Aug 2015 07:27:15 +0000 (UTC) Received: (qmail 82921 invoked by uid 99); 11 Aug 2015 07:27:11 -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, 11 Aug 2015 07:27:11 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 75212E045F; Tue, 11 Aug 2015 07:27:11 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: vkulichenko@apache.org To: commits@ignite.incubator.apache.org Date: Tue, 11 Aug 2015 07:27:53 -0000 Message-Id: <1f206e563b4247c3b52f7636d2672925@git.apache.org> In-Reply-To: <01fe7fc564c3447aa57a428396b623f3@git.apache.org> References: <01fe7fc564c3447aa57a428396b623f3@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [44/50] incubator-ignite git commit: IGNITE-104 - Ordered ATOMIC updates IGNITE-104 - Ordered ATOMIC updates Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/2a8b5489 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/2a8b5489 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/2a8b5489 Branch: refs/heads/ignite-426 Commit: 2a8b548955581857b53c312f8ce9d1bfa1c853a7 Parents: 99e998a Author: Valentin Kulichenko Authored: Fri Aug 7 15:14:12 2015 -0700 Committer: Valentin Kulichenko Committed: Fri Aug 7 15:14:12 2015 -0700 ---------------------------------------------------------------------- .../ignite/internal/processors/cache/GridCacheIoManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2a8b5489/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheIoManager.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheIoManager.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheIoManager.java index 490a5d8..7e7042c 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheIoManager.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheIoManager.java @@ -292,6 +292,8 @@ public class GridCacheIoManager extends GridCacheSharedManagerAdapter { if (e instanceof Error) throw (Error)e; + else if (e instanceof RuntimeException) + throw (RuntimeException)e; } finally { if (depEnabled) @@ -541,7 +543,7 @@ public class GridCacheIoManager extends GridCacheSharedManagerAdapter { catch (Throwable e) { U.error(log, "Failed processing message [senderId=" + nodeId + ", msg=" + msg + ']', e); - if (e instanceof Error) + if (e instanceof Error || e instanceof RuntimeException) throw e; } finally {