Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2624

Move out non essential task processing from DocumentNodeStore background thread

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.13, 1.1.8
    • mongomk
    • None

    Description

      The DocumentNodeStore background thread handles quite a few task currently like

      1. Clean orphaned branches
      2. Clean collisions
      3. Split documents
      4. Background write - write back pending updates to _lastRev
      5. Detect change in head revision from backend
      6. Cache invalidation
      7. 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.

      Attachments

        1. OAK-2624-2.patch
          6 kB
          Marcel Reutegger
        2. OAK-2624.patch
          6 kB
          Stefan Egli

        Activity

          People

            stefanegli Stefan Egli
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: