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 "Julian Reschke (JIRA)" <ji...@apache.org> on 2018/09/12 10:22:00 UTC

[jira] [Comment Edited] (OAK-7745) Clarify update semantics on deleted nodes

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

Julian Reschke edited comment on OAK-7745 at 9/12/18 10:21 AM:
---------------------------------------------------------------

Work in progress tests in [^OAK-7745.diff]

Observations:
 * with Mongo, the update succeeds and returns "null" although the UpdateOp did not allow creating the document
 * With RDB, the updates always fail with an exception, but with a very misleading exception text


was (Author: reschke):
Work in progress tests in [^OAK-7745.diff]

Observations:
 * with Mongo, the update succeeds and returns "null" although the UpdateOp did not allow creating the document
 * With RDB, the updates always fail with an exceptionm but with a very misleading exception text

> Clarify update semantics on deleted nodes
> -----------------------------------------
>
>                 Key: OAK-7745
>                 URL: https://issues.apache.org/jira/browse/OAK-7745
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: documentmk
>            Reporter: Julian Reschke
>            Priority: Major
>         Attachments: OAK-7745.diff
>
>
> It's not entirely clear to me what behavior we expect if:
>  
>  * node 1 creates a document
>  * node 2 deletes it
>  * node 1 tries to update it
> (and, related to that, whether the behavior really matters in practice)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)