You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Amit Jain (JIRA)" <ji...@apache.org> on 2014/09/25 07:37:40 UTC

[jira] [Closed] (OAK-2090) Improve logging in compaction and cleanup operation in SegmentMK

     [ https://issues.apache.org/jira/browse/OAK-2090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amit Jain closed OAK-2090.
--------------------------

Bulk close for 1.0.6

> Improve logging in compaction and cleanup operation in SegmentMK
> ----------------------------------------------------------------
>
>                 Key: OAK-2090
>                 URL: https://issues.apache.org/jira/browse/OAK-2090
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segmentmk
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.1, 1.0.6
>
>
> Currently the Compaction and Cleanup logs look like 
> {noformat}
> 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 
> {noformat}
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)