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

Refine forced compaction

    XMLWordPrintableJSON

    Details

      Description

      Forced compaction currently acquires an exclusive write lock on the repository blocking all concurrent commits during the complete time it needs to finish compaction. I think we should refine this:

      • Add a time out so we could limit the time during which the repository does not accept writes while still giving compaction another chance to finish.
      • Boost the compaction threads priority. This could actually already be done during the regular compaction cycles to increase the changes to finish in time.

        Attachments

          Activity

            People

            • Assignee:
              mduerig Michael Dürig
              Reporter:
              mduerig Michael Dürig
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: