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

Cleanup creates new generation of tar file without removing any segments

    XMLWordPrintableJSON

Details

    Description

      On some deployments I have seen tar files with a quite hight generation post-fix (e.g. 'v'). From the log files I could deduce that this particular tar file was rewritten multiple times without actually any segment being removed.
      I assume this is caused by the 25% gain threshold not taking the sizes contributed by the index and the graph entries into account.

      The attached test case can be used to verify the above hypothesis.

      Attachments

        1. test case.patch
          5 kB
          Andrei Dulceanu
        2. OAK-4669-01.patch
          2 kB
          Andrei Dulceanu

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: