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

Compaction estimation time should not depend on number of checkpoints

    XMLWordPrintableJSON

Details

    Description

      Checkpoints can be seen as unix symlinks. The compaction estimation will blindly follow those links when computing the set of bulk segments that are in-use.
      For example, when there are 1.9k checkpoints, the estimator will have to traverse the same repo 1.9k times to determine this set, even though it falls onto already traversed paths.
      This is also misleading for debugging, it all looks like it's loading segments while estimating.

      Attachments

        1. OAK-2271.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: