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

Update FileCache to use non-cache segment blocking method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.22.0, 1.8.20
    • blob-plugins
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: