jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-14) Identify and document changes in behaviour wrt. Jackrabbit 2
Date Wed, 14 Mar 2012 13:48:38 GMT

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

Julian Reschke commented on OAK-14:
-----------------------------------

> MVCC wrt. observation: Semantics change somewhat since a session might receive events
"from the future". That is, events from a newer revision than the current session's. Trying
to get a node from an NODE_ADDED event might thus result in an ItemNotFoundException unless
the session is refreshed. In contrast nodes referred to by a NODE_REMOVED events will still
be visible to the session. An approach to mitigate this is to have read only sessions which
are always on the newest revision (i.e. see all saved changes).

Maybe surface the revisionid in the event, so that "smart" event listeners have more context?
                
> Identify and document changes in behaviour wrt. Jackrabbit 2
> ------------------------------------------------------------
>
>                 Key: OAK-14
>                 URL: https://issues.apache.org/jira/browse/OAK-14
>             Project: Jackrabbit Oak
>          Issue Type: Task
>            Reporter: Michael Dürig
>              Labels: docuentation, test
>
> Some implementation specific behaviour will likely change. We should document the cases,
provide test cases and migration paths where applicable. 
> This issue serves as a container. Please create separate issues for each identifies change
in behaviour.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message