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

Improve the document cache invalidation logic to selectivly invalidate doc

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11
    • Component/s: mongomk
    • Labels:
      None

      Description

      Currently the Background Read operation invalidates the complete cache in MongoNodeStore upon detecting external change. Instead of that it should check for which cached documents are stale and only invalidate them.

      It can make use of _lastRev to check if nodes within a subtree have changed or not.

        Attachments

        1. OAK-1156.patch
          29 kB
          Chetan Mehrotra

          Activity

            People

            • Assignee:
              chetanm Chetan Mehrotra
              Reporter:
              chetanm Chetan Mehrotra
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: