Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 50571 invoked from network); 4 Dec 2007 16:14:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2007 16:14:08 -0000 Received: (qmail 29484 invoked by uid 500); 4 Dec 2007 16:13:55 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 29455 invoked by uid 500); 4 Dec 2007 16:13:55 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 29436 invoked by uid 99); 4 Dec 2007 16:13:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2007 08:13:55 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2007 16:14:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3E23F714204 for ; Tue, 4 Dec 2007 08:13:43 -0800 (PST) Message-ID: <2428321.1196784823225.JavaMail.jira@brutus> Date: Tue, 4 Dec 2007 08:13:43 -0800 (PST) From: "Dominique Pfister (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-1254) DatabaseJournal commits twice inside a transaction, causing an error with MySQL In-Reply-To: <2083189.1196782243088.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominique Pfister resolved JCR-1254. ------------------------------------ Resolution: Fixed Assignee: Dominique Pfister Fixed by introducing a lock-level that will reset auto-commit to true only when the final unlock() on the journal has been called, in revision 600980. Thanks to Dainius Rygelis for reporting. > DatabaseJournal commits twice inside a transaction, causing an error with MySQL > ------------------------------------------------------------------------------- > > Key: JCR-1254 > URL: https://issues.apache.org/jira/browse/JCR-1254 > Project: Jackrabbit > Issue Type: Bug > Components: clustering > Affects Versions: 1.3.3 > Reporter: Dominique Pfister > Assignee: Dominique Pfister > > When committing a transaction in a clustered setup, multiple records may be appended to the DatabaseJournal. After having appended a record, commit() is called on the connection and auto-commit mode is again enabled. Apart from not being semantically correct, committing a connection that is already in auto-commit mode throws an error when using MySQL as backend. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.