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

Improve segment cache in SegmentTracker

    XMLWordPrintableJSON

Details

    Description

      The hand crafted segment cache in SegmentTracker is prone to lock contentions in concurrent access scenarios. As SegmentNodeStore#merge might also end up acquiring this lock while holding the commit semaphore the situation can easily lead to many threads being blocked on the commit semaphore. The SegmentTracker cache doesn't differentiate between read and write access, which means that reader threads can block writer threads.

      Attachments

        1. OAK-3055.patch
          4 kB
          Michael Dürig

        Issue Links

          Activity

            People

              mduerig Michael Dürig
              mduerig Michael Dürig
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: