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 "Jukka Zitting (JIRA)" <ji...@apache.org> on 2013/07/18 12:38:49 UTC

[jira] [Created] (OAK-914) Relax the NodeStateDiff.childNodeChanged() semantics

Jukka Zitting created OAK-914:
---------------------------------

             Summary: Relax the NodeStateDiff.childNodeChanged() semantics
                 Key: OAK-914
                 URL: https://issues.apache.org/jira/browse/OAK-914
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core
            Reporter: Jukka Zitting
            Assignee: Jukka Zitting


Currently the {{childNodeChanged}} method is specified to only be called when there are some changes within that subtree. However, knowing in advance whether such changes exist can in some cases be as expensive as traversing down that subtree in the {{childNodeChanged}} method, leading to duplicate work. Thus it would be useful to relax the {{childNodeChanged}} method to be called whenever the underlying storage has a good reason to expect that something has changed within the subtree.

In other words, instead of the method being called only when the storage is sure that there are changes, the contract would be to not call the method only when the storage is sure that there are no changes.

--
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