Return-Path: X-Original-To: apmail-subversion-dev-archive@minotaur.apache.org Delivered-To: apmail-subversion-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 8168218906 for ; Thu, 26 Nov 2015 09:11:34 +0000 (UTC) Received: (qmail 61769 invoked by uid 500); 26 Nov 2015 09:11:29 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 61716 invoked by uid 500); 26 Nov 2015 09:11:29 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Received: (qmail 61706 invoked by uid 99); 26 Nov 2015 09:11:29 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2015 09:11:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 9A4191A29C9 for ; Thu, 26 Nov 2015 09:11:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.12 X-Spam-Level: X-Spam-Status: No, score=-0.12 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=qqmail.nl Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id EGowWBjttovt for ; Thu, 26 Nov 2015 09:11:19 +0000 (UTC) Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 5234120D02 for ; Thu, 26 Nov 2015 09:11:19 +0000 (UTC) Received: by wmuu63 with SMTP id u63so12853737wmu.0 for ; Thu, 26 Nov 2015 01:11:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qqmail.nl; s=google; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding:thread-index :content-language; bh=kvQCxPk4TDeV3jG3KrYv82H9wqAbmPVGsWrxeFoKDF8=; b=Clawgk3xoceY7meV9iKJ4hCYwl2G+QjiCU4Vn93AUPC0xOUb8Ac3OkVS6R6F1Ehl4+ Yu4ONyA6vgRmZGNF2uS6kW5NhPtsUxBRhaDsyIDMENIZFPkbmaq6uZM0RBVk9hcp7Gee decAXZ3tleHrYWKoGxrGlK1PMuoLnft7EW5fE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding :thread-index:content-language; bh=kvQCxPk4TDeV3jG3KrYv82H9wqAbmPVGsWrxeFoKDF8=; b=UTM3+K5cXw6GalEefVvv5olupftAsi0ou/MQP+tK1LN1QbLqfLi78xTP4n/rSt9kzE nJl010LJ4ASUflvLxGATs2yuBKbIet9mCojj4Ddr09YiKAKMTbMsKtEA7e5kunhMjJNO crLiOQ2nYMjc58RavW/f4hiKFyFJWlEG4fmtR/xzeDcLSOZFwEcir2SgwGANR+fFt4HD sbbSNEmOD5Y7zEJhry+YrETGpMVs8t54Ekp2PW3H2aANOraqRW7hPxy0NK4skR8hxhmA qVVRATheLf2HqE4fbeTPINeg7KXltVJbdwQZDeECGe8LhUkz/izvQwD3bRd9WUo2gwLy msAw== X-Gm-Message-State: ALoCoQnfOYFjiVNxWQdAdpKQhoHmQoGVexkf3h6DMcCSiUXLmmsDUvSKZdQgTQ7aMypnwdFE54Fq X-Received: by 10.194.88.102 with SMTP id bf6mr29980486wjb.129.1448529078088; Thu, 26 Nov 2015 01:11:18 -0800 (PST) Received: from i72600 ([2001:610:66e:0:52e5:49ff:fee1:96b7]) by smtp.gmail.com with ESMTPSA id gl10sm27006813wjb.30.2015.11.26.01.11.17 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Nov 2015 01:11:17 -0800 (PST) From: "Bert Huijben" To: "'Ivan Zhakov'" Cc: References: <20151126080536.D6E2A3A024F@svn01-us-west.apache.org> <01a001d12826$3dd56ac0$b9804040$@qqmail.nl> In-Reply-To: Subject: RE: svn commit: r1716575 - in /subversion/trunk/subversion/libsvn_ra_serf: commit.c ra_serf.h util.c Date: Thu, 26 Nov 2015 10:11:08 +0100 Message-ID: <01aa01d1282a$63cfdf40$2b6f9dc0$@qqmail.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQEWCJ4FB3mhaoInQdJHvuwzLbzPmAFJUrv2Amz4cIACT325Gp/0FDUQ Content-Language: nl > -----Original Message----- > From: Ivan Zhakov [mailto:ivan@visualsvn.com] > Sent: donderdag 26 november 2015 09:54 > To: Bert Huijben > Cc: dev@subversion.apache.org > Subject: Re: svn commit: r1716575 - in > /subversion/trunk/subversion/libsvn_ra_serf: commit.c ra_serf.h util.c >=20 > On 26 November 2015 at 11:41, Bert Huijben wrote: > >> -----Original Message----- > >> From: Ivan Zhakov [mailto:ivan@visualsvn.com] > >> Sent: donderdag 26 november 2015 09:19 > >> To: dev@subversion.apache.org; Bert Huijben > >> Subject: Re: svn commit: r1716575 - in > >> /subversion/trunk/subversion/libsvn_ra_serf: commit.c ra_serf.h = util.c > >> > >> On 26 November 2015 at 11:05, wrote: > >> > > >> > Author: rhuijben > >> > Date: Thu Nov 26 08:05:36 2015 > >> > New Revision: 1716575 > >> > > >> > URL: http://svn.apache.org/viewvc?rev=3D1716575&view=3Drev > >> > Log: > >> > In ra_serf: when a to-be committed file has text and property = changes > to > >> be > >> > applied, pipeline both requests. > >> > > >> This could fail over HTTP/2 if both pipelined requests will be = handled > >> by different worker threads: FSFS doesn't allow concurrent access = to > >> transactions. > > > > I'm surprised to learn that. I would have guessed concurrent access = was > > always part of the design of the fs layer, by the way we use it in = mod_dav. > > > > I hope we can somehow lift that restriction, as improving commit > performance > > over mod_dav is high on a few wish lists. > > > First of all I'm not sure that concurrent *writing* could speed up > commit: there is no fsync() calls when working with transactions. As > far I remember svn:// also waits for every TXN operation to complete > before sending next one, so svn:// and http:// performance should be > the same when working over high-latency network. No, in svn:// the client sends out all the requests and only peeks the = connection to see if there is waiting data (an error) during commit. The = client only waits for the server after the entire commit is completed. = Not after every txn operation. This is why 'in general' you get not identical error reporting on = commits when you use svn:// (or svn+ssh://, etc.). In many cases the = only failure you see is the text from the server as the client doesn't = even know which file/directory failed during the commit. With a bit of luck you receive errors a bit earlier than the final = commit step. But with <=3D 1.9.0 this didn't work for svn+ssh:// on = Windows at all. (We handled the error for not implemented as if no data = was waiting) Bert