[ 
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)

Reply via email to