From dev-return-11795-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Fri Apr 27 08:53:38 2007 Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 64192 invoked from network); 27 Apr 2007 08:53:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Apr 2007 08:53:37 -0000 Received: (qmail 20408 invoked by uid 500); 27 Apr 2007 08:53:43 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 20381 invoked by uid 500); 27 Apr 2007 08:53:43 -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 20372 invoked by uid 99); 27 Apr 2007 08:53:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 01:53:43 -0700 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; Fri, 27 Apr 2007 01:53:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 76AF1714076 for ; Fri, 27 Apr 2007 01:53:15 -0700 (PDT) Message-ID: <15775718.1177663995483.JavaMail.jira@brutus> Date: Fri, 27 Apr 2007 01:53:15 -0700 (PDT) From: "Dominique Pfister (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-884) DatabaseJournal assigns same revision id to different revisions In-Reply-To: <19085123.1177492155541.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-884?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:all-tabpanel ] Dominique Pfister resolved JCR-884. ----------------------------------- Resolution: Fixed Fix Version/s: 1.3 Fixed by saving away the locked revision number in the record being appende= d. Fixed in revision 533019. > DatabaseJournal assigns same revision id to different revisions > --------------------------------------------------------------- > > Key: JCR-884 > URL: https://issues.apache.org/jira/browse/JCR-884 > Project: Jackrabbit > Issue Type: Bug > Components: core > Affects Versions: 1.3 > Reporter: Dominique Pfister > Assigned To: Dominique Pfister > Fix For: 1.3 > > > Running a transaction that updates multiple workspaces (e.g. a versioning= operation) will fail in DatabaseJournal, because every individual update w= ill ultimately be assigned the same revision id. An indication of this fail= ure when e.g. using Oracle as backend for journaling will look as follows:: > java.sql.SQLException: ORA-00001: unique constraint (JOURNAL_IDX) violate= d > at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) > at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289) > at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:590) > at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1973) > at oracle.jdbc.ttc7.TTC7Protocol.executeFetch(TTC7Protocol.java:977) > at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.ja= va:2205) > at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.jav= a:2064) > at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme= nt.java:2989) > at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar= edStatement.java:658) > at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStat= ement.java:736) > at org.apache.jackrabbit.core.journal.DatabaseJournal.append(DatabaseJou= rnal.java:293) > ... 24 more > This bug has been reported by Rafa=C5=82 Kwiecie=C5=84. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.