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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2016/12/12 14:37:01 UTC

[jira] [Closed] (OAK-5207) Reduce reads in NodeDocument.getVisibleChanges()

     [ https://issues.apache.org/jira/browse/OAK-5207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davide Giannella closed OAK-5207.
---------------------------------

Bulk close for 1.5.15

> Reduce reads in NodeDocument.getVisibleChanges()
> ------------------------------------------------
>
>                 Key: OAK-5207
>                 URL: https://issues.apache.org/jira/browse/OAK-5207
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core, documentmk
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>             Fix For: 1.6, 1.5.15
>
>
> {{NodeDocument.getVisibleChanges()}} ensures visible changes are returned in descending revision order. In some cases this requires merge sorting of changes from different previous documents. The current implementation tries to avoid the merge sort by looking at the ranges of the previous documents and switches to a merge sort if they overlap. The implementation should be further optimized to only merge sort the subset of ranges that overlap and not the entire set of referenced previous document.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)