You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Przemo Pakulski (JIRA)" <ji...@apache.org> on 2006/11/10 13:11:38 UTC
[jira] Commented: (JCR-631) Change resources sequence during
transaction commit.
[ http://issues.apache.org/jira/browse/JCR-631?page=comments#action_12448719 ]
Przemo Pakulski commented on JCR-631:
-------------------------------------
Sorry, i've made a mistake in first sentence. Should be :
It seems that during commmit of transaction first changes in workspace are committed, followed by version storage changes.
> 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