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

Conditional update with relaxed cache consistency

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core, documentmk
    • Labels:

      Description

      With multiple DocumentNodeStore instances in a cluster, the root document can become a bottleneck when many concurrent commits use it as a commit root.

      The DocumentStore API currently requires that all operations that update documents immediately reflect all changes from other cluster nodes. Either when returning the before Document or implicitly via a subsequent find or query operation that may be served from the cache.

      However, the DocumentNodeStore only needs to see external changes on the root node when it does a background read (or when it detects a collision). In almost all cases it would be fine with an update operation that does not immediately reflect external changes in the cache.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mreutegg Marcel Reutegger
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: