[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: 1.8 creates node-origins index for f4 FSFS repositories

From: Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com>
Date: Thu, 20 Jun 2013 12:32:26 +0200

On Thu, Jun 20, 2013 at 9:57 AM, Daniel Shahaf <danielsh_at_elego.de> wrote:

> [[[
> % cat ./repro
> #!/bin/sh
>
> set -eu
>
> svn16=/usr/bin/svn
> svnadmin16=/usr/bin/svnadmin
> svn17=/usr/local/svn-1.7.10/bin/svn
> svn18=/usr/local/svn-1.8.0/bin/svn
>
> rm -rf r
>
> U=file://`pwd`/r
>
> $svnadmin16 create r
> $svn17 log $U >/dev/null
> printf '1.7: %s\n' "`ls r/db/ | grep node`"
> $svn18 log $U >/dev/null
> printf '1.8: %s\n' "`ls r/db/ | grep node`"
> % ./repro
> 1.7:
> 1.8: node-origins
> % find r/db/node-origins
> r/db/node-origins
> r/db/node-origins/0
> % cat r/db/node-origins/0
> K 1
> 0
> V 9
> 0.0.r0/17
> END
> %
> ]]]
>
>
> This came up in the context of an IRC bug report about 'svn log
> file://$PWD' taking a long time with 1.8. It is unclear whether the
> slowness of log is related to the creation of a node-origins cache, or
> whether those are independent problems.
>

A very recent change (r1478220 according to 'svn blame') triggered
a performance issue we always had. Fixed the latter in r1494913.
Yet another reason to get 1.8.1 out of the door soon-ish.

-- Stefan^2.
Received on 2013-06-20 12:32:59 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.