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

Improve SizeDeltaGcEstimation logging

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Segment Tar 0.0.14
    • Segment Tar 0.0.16
    • segment-tar
    • None
    • Patch

    Description

      The current message logged after estimation is not very clear for someone that does not know how it works:

      06.10.2016 18:53:07.819 *INFO* [TarMK revision gc [/Users/volteanu/workspace/test/author/crx-quickstart/repository/segmentstore]] org.apache.jackrabbit.oak.segment.file.FileStore TarMK GC #1: estimation completed in 7.362 ms (7 ms). Size delta is 0% or 880.3 MB/880.9 MB (880258560/880892416 bytes), so skipping compaction for now
      

      I think it should also list the delta in absolute value and the threshold it is compared against.

      Attachments

        1. OAK-4901.patch
          3 kB
          Valentin Olteanu

        Activity

          People

            stillalex Alex Deparvu
            volteanu Valentin Olteanu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: