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

Make merge semaphore in SegmentNodeStore fair by default

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.13, 1.6.0
    • Component/s: segment-tar, segmentmk
    • Labels:
      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

        Issue Links

          Activity

            People

            • Assignee:
              chetanm Chetan Mehrotra
              Reporter:
              chetanm Chetan Mehrotra

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment