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 D680A18735 for ; Fri, 20 Nov 2015 09:27:37 +0000 (UTC) Received: (qmail 37733 invoked by uid 500); 20 Nov 2015 09:27:37 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 37677 invoked by uid 500); 20 Nov 2015 09:27:37 -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 37665 invoked by uid 99); 20 Nov 2015 09:27:37 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2015 09:27:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id D0727C05AC for ; Fri, 20 Nov 2015 09:27:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-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: spamd4-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=visualsvn.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id ni2cT8f4TiXn for ; Fri, 20 Nov 2015 09:27:36 +0000 (UTC) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 7CB1742B08 for ; Fri, 20 Nov 2015 09:27:35 +0000 (UTC) Received: by lbbsy6 with SMTP id sy6so58499334lbb.2 for ; Fri, 20 Nov 2015 01:27:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=visualsvn.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=JC8oSr2JIXWcXgLMu27+hdQLEvE4bo43fvpEaopxP3s=; b=iCksluS371YwcDlSLi/932WDRRIMl7UytB6lBHV/QUA9Ol2yfyH8zW+64R7ChOTMfA R8E2mWvFZNpvm0FZGJ3CckFWDfHk//X1/YfxENdSoM6bdv2gmKD1m/kjvVe3vNLOTNTp zjTfRqt+GDho+5J3g22yuHu6kz8aYYqaI8E+M= 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:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=JC8oSr2JIXWcXgLMu27+hdQLEvE4bo43fvpEaopxP3s=; b=GP5vlnu+KWjdzG/CB0HUEQS7JjByt09N9ak3A8xSX2lANtFQea2dzRMF9R40Z4ZmyT 2UFfYf0mN5kjsMUPZaekYfUJ0NNzq5Bkomgq/jiSWShNfK7qXps/szsPmdNEElG5jykl +P7chQqvPkfFJDExFEz15g9wgSQmM6eLa/ivVgx9yz5/ZzaBfNJ7prSIM023rKJSNsZT YQrsUM+B2p+RGdoY1lvcHN91Ol5bWDSkZOGs6btaIJ4nWV1i1aO3QkURaoS6zZGb4Ymw BWO4QD2pkMecQLJ3vJhcaieW32qckS2LAN4BmIEJe2aqq3iosmcTG7elzvGC8QYhep2o OBOg== X-Gm-Message-State: ALoCoQnv+wFImU+jM2sY4YFJfAgeu0WixMd+PIdenpOHDx4rxkXOrPP52ed7u+uCrcNd2mXmQP+v X-Received: by 10.112.218.42 with SMTP id pd10mr5269553lbc.114.1448011648298; Fri, 20 Nov 2015 01:27:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.44.204 with HTTP; Fri, 20 Nov 2015 01:27:08 -0800 (PST) In-Reply-To: <003a01d12374$78c240b0$6a46c210$@qqmail.nl> References: <20151119180312.8FB3E3A00E5@svn01-us-west.apache.org> <072601d1230d$be972ae0$3bc580a0$@qqmail.nl> <073201d1231b$4fc08040$ef4180c0$@qqmail.nl> <073301d1231c$7560f540$6022dfc0$@qqmail.nl> <564edfa0.2376c20a.ee8b6.ffffeb8f@mx.google.com> <003a01d12374$78c240b0$6a46c210$@qqmail.nl> From: Ivan Zhakov Date: Fri, 20 Nov 2015 12:27:08 +0300 Message-ID: Subject: Re: svn commit: r1715228 -/subversion/trunk/subversion/libsvn_ra_serf/util.c To: Bert Huijben Cc: dev@subversion.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 20 November 2015 at 12:18, Bert Huijben wrote: >> -----Original Message----- >> From: Ivan Zhakov [mailto:ivan@visualsvn.com] >> Sent: vrijdag 20 november 2015 10:12 >> To: Bert Huijben >> Cc: dev@subversion.apache.org; dev@serf.apache.org >> Subject: Re: svn commit: r1715228 - >> /subversion/trunk/subversion/libsvn_ra_serf/util.c >> >> On 20 November 2015 at 11:53, Bert Huijben wrote: >> > Ack. >> > >> > Not pipelining, or not sending simultaneous/parallel requests if you d= on=E2=80=99t >> > want to depend on the order in which they are received is the safest t= hing. >> > >> > And the current code can break even in http/1. Svnrdump even has speci= al >> > precautions for this even though I have no idea why it would see the >> > problems it describes it has. (The editor drive is 100% from one http >> > response) >> > >> > What we could do is replace the current assertion with a request on a >> > completely different connection to retrieve the properties if we don= =E2=80=99t have >> > them in time=E2=80=A6 as a fallback mechanism to at least continue goi= ng. This also >> > works for legacy servers if the first improvement is applied. >> > >> > I=E2=80=99m not sure if the current implementation has more problems= =E2=80=A6 E.g. if >> > revisions can also be received out of order. >> > >> > Going to a single report =E2=80=93that includes the revprops- for mult= iple revisions >> > is a safe extension, that will improve in all cases: HTTP and HTTP/2 a= like. >> > >> I understand that current is also unsafe, that's why I suggest go >> single REPORT and disable pipeling for older servers. I'll add this to >> my TODO list you agree that this approach makes sense. > > +1. > Ok, I'll try implement it. But I want release Subversion 1.9.3 first. > This would solve +- 50% of the current testfailures running over http/2. > > But we should implement a fix that works for old servers too. I will work= on that part. > Yes, but I think disable pipelining is also viable option if we implement replay-range REPORT. > > At least some other failures I see are caused by getting httpd temporaril= y > in a 100% CPU loop, which causes other tests that run at the same time to > fail. My current best guess is that this is a server side issue, but I'll= have to > investigate. But not in the daytime hours of the next few days. > > > Note that the easiest way not to pipeline is: not scheduling requests tha= t you are not able to handle yet :) > > Bert > --=20 Ivan Zhakov