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

Clear excess references before cleanup

    XMLWordPrintableJSON

Details

    Description

      FileStore#cleanup would be more efficient when getting rid of as much references as possibly beforehand. Excess references are contributed by the current TarWriter instance and segment cache in SegmentTracker.

      Those excess references turn out to be especially harmful with many concurrent writers continuously writing to the repository. Starting with a certain write load clean up will become completely blocked.

      Attachments

        1. OAK-2801.patch
          8 kB
          Michael Dürig
        2. without-OAK-2801.png
          34 kB
          Michael Dürig
        3. with-OAK-2801.png
          82 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: