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

TarMK cleanup blocks writers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.8, 1.4
    • segmentmk

    Description

      TarMK cleanup exclusively locks the FileStore, which causes concurrent writers to block until cleanup finished. Initially cleanup was expected to be reasonably fast, however I have seen it taking dozens of minutes under certain circumstances (most likely many tar files with many small segments, aka OAK-2896).

      Attachments

        1. patched.png
          28 kB
          Michael Dürig
        2. base.png
          34 kB
          Michael Dürig
        3. OAK-3329.patch
          9 kB
          Michael Dürig

        Activity

          People

            mduerig Michael Dürig
            mduerig Michael Dürig
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: