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 53CAC10A27 for ; Fri, 6 Dec 2013 10:12:57 +0000 (UTC) Received: (qmail 39998 invoked by uid 500); 6 Dec 2013 10:12:56 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 39936 invoked by uid 500); 6 Dec 2013 10:12:55 -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 39928 invoked by uid 99); 6 Dec 2013 10:12:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Dec 2013 10:12:55 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jukka.zitting@gmail.com designates 209.85.219.52 as permitted sender) Received: from [209.85.219.52] (HELO mail-oa0-f52.google.com) (209.85.219.52) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Dec 2013 10:12:50 +0000 Received: by mail-oa0-f52.google.com with SMTP id h16so531400oag.11 for ; Fri, 06 Dec 2013 02:12:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Q1VcAEOFVSvgxLdtd8ngbfe9b26z0wPVktsEH/Juni4=; b=KseaaiIYkXzIkvT5PIsCSCg53O97Mk4V9l33mBmBea1KTQpJwR398wQsJrI/RG0hs3 bEBM78woauBWJoKsbXfxHSs8htF7e1dVKfYFixd7Kbz7f1iUPUmTBcKj9hHyBsS75b/6 8ZaBiSS3TUJzUJm+kwHq4eYtVCl9AcIGlA2uROL89+QhhKHOPzL1OxYCo4plPwOc+Vwg DAifQUb7mx/4IqP1mxXTX01iCJ8fqoHfvOgy+vq4kztETUj0YPkR6k8Ic/suArHdtK60 Cr7kQUuv0XbppRU0hBCYJD72ikIvYcMxsjYSngt/PaY9soYunHv6O7A8R4T1vPpk9/o8 FcXg== X-Received: by 10.60.177.66 with SMTP id co2mr28927oec.85.1386324750222; Fri, 06 Dec 2013 02:12:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.153.198 with HTTP; Fri, 6 Dec 2013 02:12:09 -0800 (PST) In-Reply-To: References: From: Jukka Zitting Date: Fri, 6 Dec 2013 05:12:09 -0500 Message-ID: Subject: Re: Question about MVCC with MongoMK. To: Oak devs Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, On Thu, Dec 5, 2013 at 9:43 PM, Ian Boston wrote: > Is it possible to branch an Oak repository and maintain a detached > root node for a period of time that one or more Oak instances attached > to a MongoDB instance can follow for a short period of time before > merging the "branch" back into the main tree ? The SegmentMK (with the MongoDB backend) can do this using the "hierarchical journal" feature. The SegmentMK maintains one or more "journals" that each track the evolution of a particular branch of the repository. These branches would normally be automatically merged back to the "root" journal, but a particular deployment could easily disable automatic merging for a particular branch and use it for a purpose like the one you described. BR, Jukka Zitting