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

Michael Dürig commented on OAK-606:
-----------------------------------

According to the [revived 
discussion|http://markmail.org/message/4tyl46lnbki66iv3] I suggest we try to 
track transient moves such that each node instances could check whether it was 
moved since it was acquired. For this to work, we need to track when node 
instances where acquired and when a transient move happened such that we could 
decide whether that move applies to a node or not.

On a related note there is the question where we should put such functionality. 
It could go either into {{Tree}} implementations, which means we revisit the 
decision in OAK-391 that "trees can die". Or it go into {{Node}}/{{Session}} 
and related implementations. I don't have a clear picture of the implications 
yet. 

 
                
> Node becomes invalid after Session#move()
> -----------------------------------------
>
>                 Key: OAK-606
>                 URL: https://issues.apache.org/jira/browse/OAK-606
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>            Reporter: angela
>
> moving or renaming an existing (saved) node renders that node instance
> invalid and any access on that node instance will throw IllegalStateException.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to