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/22 16:25:58 UTC

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

Marcel Reutegger created OAK-2804:
-------------------------------------

             Summary: 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)