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 "Marcel Reutegger (Jira)" <ji...@apache.org> on 2020/08/04 08:00:00 UTC

[jira] [Commented] (OAK-9149) Use batch calls in backgroundSplit

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

Marcel Reutegger commented on OAK-9149:
---------------------------------------

Controlling the background update thread can be done without introducing test only methods on DocumentNodeStore. Instead, asyncDelay can be set to zero. See https://github.com/apache/jackrabbit-oak/pull/244

> Use batch calls in backgroundSplit
> ----------------------------------
>
>                 Key: OAK-9149
>                 URL: https://issues.apache.org/jira/browse/OAK-9149
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: documentmk
>    Affects Versions: 1.32.0
>            Reporter: Stefan Egli
>            Assignee: Stefan Egli
>            Priority: Major
>             Fix For: 1.34.0
>
>
> Currently the splitting of documents is done with individual write operations. This can significantly slow down the background update rate when there are many documents to split. The method DocumentNodeStore.backgroundSplit() should collect operations and perform them in bulk.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)