Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C44D1200CAD for ; Wed, 28 Jun 2017 11:17:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C32C0160BFA; Wed, 28 Jun 2017 09:17:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1B5E8160BE8 for ; Wed, 28 Jun 2017 11:17:05 +0200 (CEST) Received: (qmail 30257 invoked by uid 500); 28 Jun 2017 09:17:04 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 30245 invoked by uid 99); 28 Jun 2017 09:17:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jun 2017 09:17:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id D4465C1415 for ; Wed, 28 Jun 2017 09:17:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.011 X-Spam-Level: X-Spam-Status: No, score=-100.011 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id c8Wn9Ile3Ovc for ; Wed, 28 Jun 2017 09:17:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 347D55F613 for ; Wed, 28 Jun 2017 09:17:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6DE6EE0D57 for ; Wed, 28 Jun 2017 09:17:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 11F4024162 for ; Wed, 28 Jun 2017 09:17:00 +0000 (UTC) Date: Wed, 28 Jun 2017 09:17:00 +0000 (UTC) From: "Benjamin Garaude (JIRA)" To: dev@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-5601) WriteBehind mode hide SQLExceptions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 28 Jun 2017 09:17:07 -0000 Benjamin Garaude created IGNITE-5601: ---------------------------------------- Summary: WriteBehind mode hide SQLExceptions Key: IGNITE-5601 URL: https://issues.apache.org/jira/browse/IGNITE-5601 Project: Ignite Issue Type: Improvement Components: jdbc Affects Versions: 2.0 Environment: Ignite 2.0.0 Oracle JDK 1.8.0_121 Reporter: Benjamin Garaude If an exception, e.g. SQLException occurs during a wite-behind operation, the exception is lost and appears nowhere in the logs. The logs basically say: [2017-06-28 10:48:52] SEVERE: Unable to update underlying store: CacheJdbcPojoStore [] [2017-06-28 10:48:52] WARNING: Failed to update store (value will be lost as current buffer size is greater than 'cacheCriticalSize' or node has been stopped before store was repaired) [key=test.WriteBehindIssue$FooKey [idHash=524852907, hash=-1388553726, id=1], val=test.WriteBehindIssue$Foo [idHash=323347362, hash=574522785, value1=abcd, value2=1234], op=PUT] If we do the same with write-through mode, it fails by throwing an exception with the SQLException as cause, deep in the trace. Would it be possible the write-behind operation logs the SQLException, and other exception? You can find a test case showing that here: https://github.com/bgaraude/IgniteTest -- This message was sent by Atlassian JIRA (v6.4.14#64029)