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 2015/03/25 13:43:53 UTC

[jira] [Resolved] (OAK-2624) Move out non essential task processing from DocumentNodeStore background thread

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

Marcel Reutegger resolved OAK-2624.
-----------------------------------
    Resolution: Fixed

Applied patch to trunk: http://svn.apache.org/r1669096

> Move out non essential task processing from DocumentNodeStore background thread
> -------------------------------------------------------------------------------
>
>                 Key: OAK-2624
>                 URL: https://issues.apache.org/jira/browse/OAK-2624
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: mongomk
>            Reporter: Chetan Mehrotra
>            Assignee: Stefan Egli
>             Fix For: 1.1.8
>
>         Attachments: OAK-2624-2.patch, OAK-2624.patch
>
>
> The {{DocumentNodeStore background thread}} handles quite a few task currently like
> # Clean orphaned branches
> # Clean collisions
> # Split documents
> # Background write - write back pending updates to _lastRev
> # Detect change in head revision from backend
> # Cache invalidation
> # Revision Comparator purge
> The background operation is scheduled to be performed every second (1s frequency). However at times some of the above task take more time which delay in picking up the changes from backend. For quick propagation of changes in cluster it is essential that work done in background thread is performed quickly.  To enable that we should move out task which are not directly related to _head revision change_ like splitDocument.



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