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

offline compaction (via oak-run) broken

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.5
    • Fix Version/s: 1.0.12, 1.1.6
    • Component/s: run
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: