jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-5983) BlobGC should log the amount of space reclaimed after GC run is done
Date Fri, 24 Mar 2017 11:44:41 GMT

    [ https://issues.apache.org/jira/browse/OAK-5983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15940189#comment-15940189
] 

Chetan Mehrotra commented on OAK-5983:
--------------------------------------

Currently in all cases blobId also encode the blob length. So it should be possible to get
this information without any extra cost. We can use the {{BlobStore#getBlobLength}} for that
or introduce a new method which gurantees that length is calculated without doing any remote
call. 

[~amitjain] Thoughts?

> BlobGC should log the amount of space reclaimed after GC run is done
> --------------------------------------------------------------------
>
>                 Key: OAK-5983
>                 URL: https://issues.apache.org/jira/browse/OAK-5983
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: blob
>            Reporter: Chetan Mehrotra
>             Fix For: 1.8
>
>
> Currently BlobGC logic reports the number of blobs removed
> {noformat}
> 24.03.2017 12:33:33.120 *INFO* [sling-oak-observation-205] org.apache.jackrabbit.oak.plugins.blob.MarkSweepGarbageCollector
Blob garbage collection completed in 16.76 s. Number of blobs deleted [1776] with max modification
time of [2017-03-23 12:33:16.373]
> {noformat}
> It would helpful it can also report the size reclaimed by deleted those blobs



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message