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

Compaction estimation includes all data segments

    XMLWordPrintableJSON

Details

    Description

      The original design of the compaction estimator was to only focus on binary segments when computing the amount of garbage that can be collected.
      This has a flaw when it runs on systems with external data stores configured as there will be almost no binary segments and the estimation will always be 0, no need for compaction.

      The change to include all segments is not big, the uuids bloomfilter is already initialized with the total number of segments, and the segment collection already loads everything in memory.

      Attachments

        1. OAK-2322.patch
          3 kB
          Alex Deparvu

        Issue Links

          Activity

            People

              stillalex Alex Deparvu
              stillalex Alex Deparvu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: