You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Davide Giannella (JIRA)" <ji...@apache.org> on 2016/01/07 15:15:41 UTC
[jira] [Closed] (OAK-3586) ConflictException and CommitQueue should
support a list of revisions
[ https://issues.apache.org/jira/browse/OAK-3586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davide Giannella closed OAK-3586.
---------------------------------
Bulk close for 1.3.13
> ConflictException and CommitQueue should support a list of revisions
> --------------------------------------------------------------------
>
> Key: OAK-3586
> URL: https://issues.apache.org/jira/browse/OAK-3586
> Project: Jackrabbit Oak
> Issue Type: Technical task
> Components: core, documentmk
> Reporter: Tomek Rękawek
> Assignee: Marcel Reutegger
> Fix For: 1.3.13
>
> Attachments: OAK-3586.patch
>
>
> The OAK-3559 aims at providing bulk version of the {{DocumentStore#createOrUpdate()}}, so the {{Commit}} class can apply many changes at the same time. If there's a conflict detected afterwards, it may involve many documents and revisions. That's why the {{ConflictException}} needs to be extended, so it can contain a revision list rather than a single revision.
> Once the {{ConflictException}} contains revision list, the {{CommitQueue#suspendUntil()}} method should be updated as well, to suspend thread until all revisions from the passed collection are visible and all conflicts are resolved.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)