jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-884) DatabaseJournal assigns same revision id to different revisions
Date Thu, 20 Sep 2007 18:15:31 GMT

     [ https://issues.apache.org/jira/browse/JCR-884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jukka Zitting updated JCR-884:
------------------------------

    Affects Version/s: 1.2.1
                       1.2.2
                       1.2.3
                       1.3.1
        Fix Version/s: 1.3.2

Merged to the 1.3 branch in revision 577847.

> 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.2.1, 1.2.2, 1.2.3, 1.3, 1.3.1
>            Reporter: Dominique Pfister
>            Assignee: Dominique Pfister
>             Fix For: 1.3.2
>
>
> Running a transaction that updates multiple workspaces (e.g. a versioning operation)
will fail in DatabaseJournal, because every individual update will ultimately be assigned
the same revision id. An indication of this failure when e.g. using Oracle as backend for
journaling will look as follows::
> java.sql.SQLException: ORA-00001: unique constraint (JOURNAL_IDX) violated
>  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.java:2205)
>  at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2064)
>  at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2989)
>  at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:658)
>  at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:736)
>  at org.apache.jackrabbit.core.journal.DatabaseJournal.append(DatabaseJournal.java:293)
>  ... 24 more
> This bug has been reported by Rafał Kwiecień.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message