[ 
http://issues.apache.org/jira/browse/JCR-631?page=comments#action_12458790 ] 
            
Jan Kuzniak commented on JCR-631:
---------------------------------

I am afraid that it is impossible to change this sequence easily. It seems that 
there are some dependencies between those managers i.e. version manager depends 
on state manager. Changing this is not trivial and since this part leaks some 
documentation probably only author can make it.

--
Regards,
 Jan

> 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: 1.0, 1.0.1, 1.1, 0.9
>            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

        

Reply via email to