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 B04E4F647 for ; Wed, 27 Mar 2013 12:33:16 +0000 (UTC) Received: (qmail 12642 invoked by uid 500); 27 Mar 2013 12:33:16 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 12488 invoked by uid 500); 27 Mar 2013 12:33:15 -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 12471 invoked by uid 99); 27 Mar 2013 12:33:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Mar 2013 12:33:14 +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 (athena.apache.org: local policy) Received: from [64.18.1.33] (HELO exprod6og114.obsmtp.com) (64.18.1.33) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Mar 2013 12:33:07 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob114.postini.com ([64.18.5.12]) with SMTP ID DSNKUVLm74qa92JYGZPA4CF4x/rwfWdMwbpB@postini.com; Wed, 27 Mar 2013 05:32:47 PDT 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 r2RCTd1v016774 for ; Wed, 27 Mar 2013 05:29:39 -0700 (PDT) Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r2RCWkAV021090 for ; Wed, 27 Mar 2013 05:32:46 -0700 (PDT) Received: from eurhub01.eur.adobe.com (10.128.4.30) by nacas01.corp.adobe.com (10.8.189.99) with Microsoft SMTP Server (TLS) id 8.3.298.1; Wed, 27 Mar 2013 05:32:46 -0700 Received: from susi.local (10.136.130.210) by eurhub01.eur.adobe.com (10.128.4.111) with Microsoft SMTP Server id 8.3.298.1; Wed, 27 Mar 2013 12:32:43 +0000 Message-ID: <5152E6EB.8040405@apache.org> Date: Wed, 27 Mar 2013 12:32:43 +0000 From: =?ISO-8859-1?Q?Michael_D=FCrig?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130216 Thunderbird/17.0.3 MIME-Version: 1.0 To: Subject: Re: Some more benchmarks References: <5152E241.1000500@apache.org> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 27.3.13 12:21, Jukka Zitting wrote: > Hi, > > On Wed, Mar 27, 2013 at 2:12 PM, Michael D�rig wrote: >> IIUC you propose to not validate paths in the read case but rely on the >> downstream code to fail. Might be worth a try. However we'd need different >> path parsing then for the read an the write case since circumventing path >> validation for the write case is most certainly not the right thing to do. > > We already have the NameValidator that ensures that all (non-hidden) > names stored in the repository are valid. As a consequence also all > existing repository paths are valid. That's right. The easiest thing is to try it out, remove pre-emptive path validation and see what breaks. I have the vague memory that there were some overly picky TCK tests which required us to put this upfront validation in. However, a lot of time has past since then so it might be a good idea to have another look. Michael