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

Marcel Reutegger edited comment on OAK-5557 at 2/6/17 2:15 PM:
---------------------------------------------------------------

Merged into branches:

- 1.6: http://svn.apache.org/r1781888
- 1.4: http://svn.apache.org/r1781894
- 1.2: http://svn.apache.org/r1781904


was (Author: mreutegg):
Merged into branches:

- 1.6: http://svn.apache.org/r1781888
- 1.4: http://svn.apache.org/r1781894

> incomplete diffManyChildren during commitHook evaluation in a persisted branch
> ------------------------------------------------------------------------------
>
>                 Key: OAK-5557
>                 URL: https://issues.apache.org/jira/browse/OAK-5557
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, documentmk
>    Affects Versions: 1.2.23, 1.4.12, 1.6.0
>         Environment: 'easily' reproducible on 1.2.14
> 'takes longer to' reproduce on 1.2.23
>            Reporter: Stefan Egli
>            Assignee: Marcel Reutegger
>             Fix For: 1.2.24, 1.4.13, 1.7.0, 1.8, 1.6.1
>
>         Attachments: DocumentNodeStoreBranchesTest.java, 
> DocumentNodeStoreBranchesTest.java, OAK-5557-1.2.patch, OAK-5557.patch
>
>
> In oak 1.2 when doing a diffManyChildren as part of running the CommitHooks 
> as part of a branch commit, not all child paths are taken into account in 
> some cases.
> The problem seems to be related to the [{{_modified}} 
> calculation|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.2.14/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStore.java#L2242]
>  when doing the query for affected child paths. It seems [that 
> {{minValue}}|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.2.14/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStore.java#L2242]
>  is not correctly calculated when doing {{compareAgainstBaseState}} as part 
> of a persisted branch.
> Note that the problem can be reproduced very good on 1.2.14, less good but 
> still on the latest 1.2 and not in trunk (ie almost 1.6.0).
> Attaching a test case to reproduce



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to