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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2015/03/13 07:09:38 UTC

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

Chetan Mehrotra created OAK-2624:
------------------------------------

             Summary: Move out non essential task processing from DoucmentNodeStore background thread processing
                 Key: OAK-2624
                 URL: https://issues.apache.org/jira/browse/OAK-2624
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: mongomk
            Reporter: Chetan Mehrotra
             Fix For: 1.2


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)