Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9689D9E3A for ; Mon, 6 Feb 2012 14:23:56 +0000 (UTC) Received: (qmail 44765 invoked by uid 500); 6 Feb 2012 14:23:56 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 44705 invoked by uid 500); 6 Feb 2012 14:23:55 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 44698 invoked by uid 99); 6 Feb 2012 14:23:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2012 14:23:55 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [64.18.1.35] (HELO exprod6og115.obsmtp.com) (64.18.1.35) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2012 14:23:46 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob115.postini.com ([64.18.5.12]) with SMTP ID DSNKTy/iXPASUM2ge+of59kjgUYQsdx3LXoQ@postini.com; Mon, 06 Feb 2012 06:23:25 PST Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q16ELS0Y027184 for ; Mon, 6 Feb 2012 06:21:28 -0800 (PST) Received: from nacas02.corp.adobe.com (nacas02.corp.adobe.com [10.8.189.100]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q16ENNMM024572 for ; Mon, 6 Feb 2012 06:23:23 -0800 (PST) Received: from eurhub01.eur.adobe.com (10.128.4.30) by nacas02.corp.adobe.com (10.8.189.100) with Microsoft SMTP Server (TLS) id 8.3.192.1; Mon, 6 Feb 2012 06:23:23 -0800 Received: from susi.local (10.136.141.226) by eurhub01.eur.adobe.com (10.128.4.111) with Microsoft SMTP Server id 8.3.192.1; Mon, 6 Feb 2012 14:23:22 +0000 Message-ID: <4F2FE259.4060805@apache.org> Date: Mon, 6 Feb 2012 14:23:21 +0000 From: =?ISO-8859-1?Q?Michael_D=FCrig?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0) Gecko/20120129 Thunderbird/10.0 MIME-Version: 1.0 To: Subject: Re: [jr3 microkernel] Change log consolidation References: <4F2C2B0E.7050508@apache.org> <4F2EBBA3.2080802@apache.org> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org >> >> - Much simpler. > > erm, i beg to differ ... ;) So do I ;-) >> Apart from the benefits, it is a plain necessity for transient space >> implementations on top of the Microkernel: without proper consolidation >> users could end up not being able to save their (valid) transient >> modifications. Consider a first user doing >> >>> /a:/t/x +/t/x/y:{}>/t/x:/b >> >> if in the meanwhile another user removes x the save operation for the first >> user would fail. > > how could another user remove /t/x? it only exists in the first user's > transient space. Sorry typo. My last sentence should read: "if in the meanwhile another user removes *+/t* the save operation for the first user would fail. Michael > > cheers > stefan > >> >> After consolidation, above change log would look like >> >> +/a/y:{}>/a:/b >> >> and can be saved. >> >> Michael >> >> >>> >>> cheers >>> stefan >>> >>>> >>>> Michael >>>> >>>> >>>> [1] http://markmail.org/message/qkkcvtmtapas2cx4 >>>> [2] >>>> >>>> http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/state/ChangeLog.java?view=markup >>>> [3] >>>> >>>> http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-microkernel/src/test/java/org/apache/jackrabbit/state/ChangeLogFuzzTest.java?view=markup