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

Update FileCache to use non-cache segment blocking method

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.22.0, 1.8.20, 1.10.9
    • Component/s: blob-plugins
    • Labels:
      None

      Description

      Currently FileCache builds CacheLIRS by using CacheLoader and uses the method get(K key to retrieve an entry. This can cause the cache segments to be blocked until the entry is loaded into the cache. An alternative is to use the method get(K key, Callable<? extends V> valueLoader) which would only block the thread loading the same key.

        Attachments

          Activity

            People

            • Assignee:
              amitj Amit Jain
              Reporter:
              amitj Amit Jain
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: