jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: [MongoMK] BlobStore garbage collection
Date Wed, 07 Nov 2012 10:39:00 GMT

On Wed, Nov 7, 2012 at 9:51 AM, Thomas Mueller <mueller@adobe.com> wrote:
> Any other ideas?

Generational garbage collection should work pretty well for this case.
If the blob store can keep track of all blobs added since revision X,
it needs to only go through the diff from that revision the latest
ones to determine which of those blobs can be removed early.

Since most extra binaries are short-lived (temporary files, etc.),
we'd only need to do a full mark/sweep garbage collection fairly
rarely for a typical repository, like once a week or month, or perhaps
just on-demand when running out of extra space.


Jukka Zitting

View raw message