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

Re: svn propget hangs

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2006-01-17 18:46:13 CET

Dave Rodgman wrote:
> Hi all,
> The following commandline hangs svn propget:
> svn propget propname path -r50000

Thanks for this bug report.

I can reproduce this against the APR repository. Using an "apr" sub-tree
checked out from "http://svn.apache.org/repos/asf/apr/apr/trunk:

for N in $(seq 67000 -200 50000); do T=$({ time svn propget propname apr -r$N;
} 2>&1 | grep real); echo "$N: $T"; done

(HEAD: typically 3s)

67000: real 0m3.036s
66800: real 0m3.317s
66600: real 0m3.317s
66400: real 0m3.234s
66200: real 0m3.090s
66000: real 0m3.076s
65800: real 0m3.133s
65600: real 0m3.037s
65400: real 0m3.222s
65200: real 0m3.485s
65000: real 0m6.213s
64800: real 0m4.872s
64600: real 0m4.552s
64400: real 0m4.530s
64200: real 0m6.689s
64000: real 0m5.859s
63800: real 0m6.844s
63600: real 0m8.297s
63400: real 0m10.363s
63200: real 0m10.408s

In this trial, at r63000 there is no response for at least several minutes, yet
on an earlier trial of just r60000 I did get a response within a minute, so
it's not entirely predictable.

The APR repository's head revision is about 369000 so the break point is about
306000 revisions before HEAD; that doesn't sound like a special number. I
don't know whether this repository is FSFS of BDB, but I'm sure someone here
can tell us.

I don't know what the problem is and I don't have an easy way to debug it.

> I suspect this is related to issue 752 (rev-hunt is broken when
> revisions are not in date order -

It shouldn't be related: that "hunt" is only used for looking up a date. The
look-up of a revision by number should be very quick.

> because it works for revisions sufficiently close to HEAD, but breaks as
> we go further back).


Thanks for all the details. It might also be useful to know whether the
repository is FSFS or BDB, and how many revisions are in it in total.

- Julian

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 17 21:58:30 2006

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.