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

Use the cache tracker in the RDB Document Store

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4.7, 1.5.2, 1.6.0
    • documentmk, rdbmk
    • None
    • Patch

    Description

      OAK-4112 introduced CacheChangesTracker mechanism, inspired by the QueryContext class, already present in the RDB DS.

      The tracker works on the NodeDocumentCache level, within the methods modifying the cache values, using the same NodeDocumentLocks, which may prevent potential concurrency problems, described in the comments to OAK-3566.

      We should synchronise both approaches, so the queries in Mongo and RDB uses the same logic to update their caches.

      Attachments

        1. OAK-4320-2.patch
          10 kB
          Tomek Rękawek
        2. OAK-4320.patch
          9 kB
          Tomek Rękawek

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tomek.rekawek Tomek Rękawek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: