[
https://issues.apache.org/jira/browse/OAK-2010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14079788#comment-14079788
]
Przemo Pakulski edited comment on OAK-2010 at 7/30/14 7:19 PM:
---------------------------------------------------------------
This is due to an incorrect conversion of *BlobGcMaxAgeInSecs* parameter (hours
are converted to milliseconds instead of seconds). As a result, maxAge is set
by default to 1000 days (almost 3 years), instead of 24 hours (1 day).
was (Author: ppakulski):
This is due to an incorrect conversion of *BlobGcMaxAgeInSecs* parameter (hours
are converted to milliseconds instead of seconds). As a result, maxAge is set
by default to over 3 years, instead of 24 hours.
> BlobGcMaxAgeInSecs is set to high for MongoBlobStore
> ----------------------------------------------------
>
> Key: OAK-2010
> URL: https://issues.apache.org/jira/browse/OAK-2010
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: blob, mongomk
> Affects Versions: 1.0.2
> Reporter: Przemo Pakulski
> Attachments: OAK-2010.patch
>
>
> Whilst working with MongoMk had problems with BlobGarbageCollector, it didn't
> remove redundant blobs at all.
> When enabled debug logging I found the following entry in log files:
> {code}
> 30.07.2014 19:23:32.922 *DEBUG* [pool-5-thread-2]
> org.apache.jackrabbit.oak.plugins.blob.MarkSweepGarbageCollector Number of
> blobs present in BlobStore : [0] which have been last modified before
> [2011-11-03 18:23:32.922]
> {code}
> Looks that GC is considering only almost 3 years old blobs by default.
--
This message was sent by Atlassian JIRA
(v6.2#6252)