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

Reclaimed size reported by FileStore.cleanup is off

    XMLWordPrintableJSON

    Details

      Description

      The current implementation simply reports the difference between the repository size before cleanup to the size after cleanup. As cleanup runs concurrently to other commits, the size increase contributed by those is not accounted for. In the extreme case where cleanup cannot reclaim anything this can even result in negative values being reported.

      We should either change the wording of the respective log message and speak of before and after sizes or adjust our calculation of reclaimed size (preferred).

        Attachments

        1. OAK-4106-01.patch
          4 kB
          Andrei Dulceanu
        2. OAK-4106-02.patch
          3 kB
          Michael Dürig
        3. OAK-4106-03.patch
          1 kB
          Andrei Dulceanu

          Issue Links

            Activity

              People

              • Assignee:
                adulceanu Andrei Dulceanu
                Reporter:
                mduerig Michael Dürig
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: