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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2015/04/23 11:56:39 UTC

[jira] [Resolved] (OAK-2804) Conditional remove on DocumentStore

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

Marcel Reutegger resolved OAK-2804.
-----------------------------------
    Resolution: Fixed

RDBDocumentStore now also supports the conditional remove operation, but only limited to conditions on the _modified field.

Done in trunk: http://svn.apache.org/r1675555

> Conditional remove on DocumentStore
> -----------------------------------
>
>                 Key: OAK-2804
>                 URL: https://issues.apache.org/jira/browse/OAK-2804
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core, mongomk
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>             Fix For: 1.3.0
>
>
> The DocumentStore API allows for conditional inserts (only add document if not present yet) and updates (using findAndModify() with a condition), but it doesn't allow you to remove a document given some conditions are met.
> This feature is required to make sure the VersionGarbageCollector does not remove document that are modified concurrently. See OAK-2778.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)