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

Make merge semaphore in SegmentNodeStore fair by default

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment