[ 
https://issues.apache.org/jira/browse/OAK-6797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16198394#comment-16198394
 ] 

Marcel Reutegger commented on OAK-6797:
---------------------------------------

My preferred approach is:

- Fix the Condition JavaDoc. Both EXISTS and MISSING conditions may also be 
used for top level non-revision properties.
- Limit the conditional DocumentStore.remove() contract to only support 
conditions on non-revision properties.
- Change the DocumentStore implementations accordingly. I.e. throw an exception 
when a remove condition is for a revision property.

[~reschke], WDYT?

> DocumentStore conditional remove: EXISTS on non-revision property?
> ------------------------------------------------------------------
>
>                 Key: OAK-6797
>                 URL: https://issues.apache.org/jira/browse/OAK-6797
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: documentmk
>            Reporter: Julian Reschke
>            Priority: Minor
>         Attachments: OAK-6797.diff
>
>
> Implementations currently differ in whether the "Exists" condition works on a 
> non-revision property.
> (RDBDS and MongoDS seem to support it, while MemoryDS does not).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to