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 BC0C510B9C for ; Tue, 15 Oct 2013 05:07:52 +0000 (UTC) Received: (qmail 5610 invoked by uid 500); 15 Oct 2013 05:07:52 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 4409 invoked by uid 500); 15 Oct 2013 05:07:46 -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 4042 invoked by uid 99); 15 Oct 2013 05:07:41 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Oct 2013 05:07:41 +0000 Received: from localhost (HELO mail-ie0-f176.google.com) (127.0.0.1) (smtp-auth username tripod, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Oct 2013 05:07:41 +0000 Received: by mail-ie0-f176.google.com with SMTP id u16so7043299iet.35 for ; Mon, 14 Oct 2013 22:07:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=cLL/i4tJlC6I6Dmm9x1JFaDV6W0xLr44iVrcdYtgiHI=; b=T9+otrpq7kfncx60/iB0R/NvWcYhlgxCQTd5TwwYK4a+0s1jTFB3CQXUN2oQTjERJb RVepXhAMPITd2sTdXDlisih1E+y2ZVVlxqcA8vmlrNFJLRfg9bLSHqJCVhrdrT6lBCsM 1GlyvJVuiCkMB4CutlsJtyudPDreScEDknB8YYT5NdMkc1M321+UCjMtUbV+BJsm76BS NbxbrpIrLYDLSQbIn9VrN4Er6eXe+DEN5sEYr1zGJNe1p/N4TvqVndPF1I9u8D5w0mfd LuVh50aPUatB/2SmbR560N7BXkcN5+zVKWBxXd8myW0KwzYaoippfbXVTVJj9XjvYosW pRxw== X-Gm-Message-State: ALoCoQmAAVC4f0nLnZwjnw6J78+JNasXuESWDjwKdLWcSSdtuo75HUJIbEkuabcgz9qIWP0Px+R/ MIME-Version: 1.0 X-Received: by 10.50.225.39 with SMTP id rh7mr15820687igc.10.1381813660542; Mon, 14 Oct 2013 22:07:40 -0700 (PDT) Received: by 10.64.239.208 with HTTP; Mon, 14 Oct 2013 22:07:40 -0700 (PDT) In-Reply-To: References: Date: Mon, 14 Oct 2013 22:07:40 -0700 Message-ID: Subject: Re: content hash of a tree From: Tobias Bocanegra To: oak-dev@jackrabbit.apache.org Content-Type: multipart/alternative; boundary=001a11c3a8cc61fa6504e8c09075 --001a11c3a8cc61fa6504e8c09075 Content-Type: text/plain; charset=UTF-8 On Mon, Oct 14, 2013 at 7:08 PM, Jukka Zitting wrote: > Hi, > > On Mon, Oct 14, 2013 at 8:39 PM, Tobias Bocanegra > wrote: > > just wondering, how can I retrieve the content-hash of a subtree? > > You can't. The underlying MicroKernel/NodeStore does not necessarily > store content by hash. In fact neither the MongoMK nor the SegmentMK > do so. > hmm, that's bad. I thought this was one of the fundamental principles that allow for quick diff/merge and help identify a commit within the MVCC timeline. what was the reason to abandon this idea? regards, toby --001a11c3a8cc61fa6504e8c09075--