jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Przemo Pakulski (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-631) Change resources sequence during transaction commit.
Date Fri, 10 Nov 2006 12:07:42 GMT
Change resources sequence during transaction commit.
----------------------------------------------------

                 Key: JCR-631
                 URL: http://issues.apache.org/jira/browse/JCR-631
             Project: Jackrabbit
          Issue Type: Improvement
    Affects Versions: 0.9, 1.0, 1.0.1, 1.1
            Reporter: Przemo Pakulski


It seems that during commmit of transaction first changes in version storage are committed,
followed by workspace changes.

If second transaction fail it leads to situation where some nodes in workspace could have
reference (base version for example) to nonexistenst version in version storage. In such case
this node is corrupted, cannot be checked in anymore :-(.

Long term solution is make versioning operation fully transactional (see JCR-630). In short
term I think it is worth to change sequence of commit operations on different resources to
stores changes in version storage before workspace changes.
It would be better to have some redundant data in version storage (not referenced version)
than broken reference in workspace I think.

Any comments ? Does it make sense ?


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message