Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DE47BD21A for ; Fri, 2 Nov 2012 09:31:09 +0000 (UTC) Received: (qmail 67607 invoked by uid 500); 2 Nov 2012 09:31:09 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 67561 invoked by uid 500); 2 Nov 2012 09:31:08 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 67533 invoked by uid 99); 2 Nov 2012 09:31:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2012 09:31:07 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of matamel@adobe.com designates 64.18.1.37 as permitted sender) Received: from [64.18.1.37] (HELO exprod6og116.obsmtp.com) (64.18.1.37) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2012 09:30:59 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob116.postini.com ([64.18.5.12]) with SMTP ID DSNKUJOSvUwRldSOX0BMJ/I00N1Y4y/npoAs@postini.com; Fri, 02 Nov 2012 02:30:38 PDT Received: from inner-relay-4.eur.adobe.com (inner-relay-4b [10.128.4.237]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id qA29UbHP011327 for ; Fri, 2 Nov 2012 02:30:37 -0700 (PDT) Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id qA29UaXL027772 for ; Fri, 2 Nov 2012 02:30:36 -0700 (PDT) Received: from NAMBX02.corp.adobe.com ([10.8.127.96]) by nacas01.corp.adobe.com ([10.8.189.99]) with mapi; Fri, 2 Nov 2012 02:30:35 -0700 From: Mete Atamel To: "oak-dev@jackrabbit.apache.org" Date: Fri, 2 Nov 2012 02:30:31 -0700 Subject: [MongoMK] BlobStore garbage collection Thread-Topic: [MongoMK] BlobStore garbage collection Thread-Index: Ac243LX+N0wHbk0jQGu7afMukTUqdA== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.4.120824 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi, One of the things I need to implement for MongoMK is BlobStore garbage collection. I see that there's an initial implementation for garbage collection in AbstractBlobStore in oak-mk and I also see this bug [0] to improve that initial implementation. MongoMK uses a GridFS based BlobStore, separate from AbstractBlobStore in oak-mk. I could potentially come up with my own GC, based on that GridFS implementation, or I could try a new AbstractBlobStore implementation for MongoMK (not GridFS based). With the second approach, I potentially get current and future garbage collection improvements for free. Not sure which path to follow yet but I wanted to see what others thought before starting to work on it. Thanks, Mete [0] https://issues.apache.org/jira/browse/OAK-377