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

oak-run compact should offer the possibility to choose between checkpoints compactor and the classical compactor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • oak-run, segment-tar
    • None

    Description

      Until the final fix for OAK-8832 will be out and even after that, I think we must offer the possibility to do offline compaction in two modes:

      • current optimized solution which compacts checkpoints on top of the other, chronologically and after that the root state on top of those
      • previous un-optimized solution which blindly compacts everything, making use of the deduplication caches to control checkpoints "explosion"

      I propose to add an optional argument to compact, --compactor with three values: auto, diff and classic. When not set, it will just go with whatever we choose as auto - for now "classic". If set, it will use the mode provided.

      Attachments

        Issue Links

          Activity

            People

              adulceanu Andrei Dulceanu
              adulceanu Andrei Dulceanu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: