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

Improve logging in compaction and cleanup operation in SegmentMK

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.6, 1.1.0
    • segmentmk
    • None

    Description

      Currently the Compaction and Cleanup logs look like

      2014-09-10 15:51:43,477 INFO  NA [TarMK compaction thread [/path/to/segmentstore], active since Wed Sep 10 15:51:43 IST 2014, previous max duration 2478ms] o.a.j.o.p.s.file.FileStore - TarMK compaction started 
      2014-09-10 15:51:43,749 INFO  NA [TarMK compaction thread [/path/to/segmentstore], active since Wed Sep 10 15:51:43 IST 2014, previous max duration 2478ms] o.a.j.o.p.s.file.FileStore - Estimated compaction in 272ms, gain is 3% (1844718080/1917861888), so skipping compaction for now 
      2014-09-10 15:51:45,067 INFO  NA [TarMK flush thread [/path/to/segmentstore], active since Wed Sep 10 15:51:45 IST 2014, previous max duration 495ms] o.a.j.o.p.s.file.FileStore - TarMK revision cleanup started 
      2014-09-10 15:51:45,435 INFO  NA [TarMK flush thread [/path/to/segmentstore], active since Wed Sep 10 15:51:45 IST 2014, previous max duration 495ms] o.a.j.o.p.s.file.FileStore - TarMK revision cleanup completed in 368ms 
      

      It would be helpful if it provide details like size of repo before cleanup and size after cleanup and how much space was reclaimed etc

      Attachments

        Activity

          People

            chetanm Chetan Mehrotra
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: