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

Make merge semaphore in SegmentNodeStore fair by default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.13, 1.6.0
    • segment-tar, segmentmk
    • None

    Description

      Currently the merge semaphore in SegmentNodeStore is by default non fair. OAK-3588 provided a config option to make it fair.

      We should change the default to fair so as to ensure writer threads never get starved.

      Eventually this change would need to be backported to branches. Further going forward OAK-4122 would replace the lock

      Attachments

        1. OAK-4881-v1.patch
          0.8 kB
          Chetan Mehrotra

        Issue Links

          Activity

            People

              chetanm Chetan Mehrotra
              chetanm Chetan Mehrotra
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: