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

offline compaction (via oak-run) broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.5
    • 1.0.12, 1.1.6
    • run
    • None

    Description

      This is a likely regression introduced with OAK-2192: when doing offline compaction via oak-run with a current oak trunk, the compaction never finishes - instead it creates tar file after tar file - basically filling up the disk if you dont stop it.

      It looks like oak-run's Main.compact() does not set the newly (in OAK-2192) added compactionStrategy - instead, compactionStrategy is set to NO_COMPACTION - which returns false when being asked if compaction is finished (compacted()) - which is why it just loops - and in each loop add a bit to the store.

      Attachments

        1. compaction.patch
          2 kB
          Stefan Egli
        2. OAK-2449.patch
          3 kB
          Alex Deparvu

        Issue Links

          Activity

            People

              stillalex Alex Deparvu
              stefanegli Stefan Egli
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: