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

Re: svn commit: r1400498 - /subversion/trunk/subversion/svnadmin/main.c

From: Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com>
Date: Sun, 21 Oct 2012 20:56:36 +0200

On Sun, Oct 21, 2012 at 8:35 PM, Ben Reser <ben_at_reser.org> wrote:

> On Sat, Oct 20, 2012 at 11:35 AM, <stefan2_at_apache.org> wrote:
> > Author: stefan2
> > Date: Sat Oct 20 18:35:24 2012
> > New Revision: 1400498
> >
> > URL: http://svn.apache.org/viewvc?rev=1400498&view=rev
> > Log:
> > On systems without efficient 64 bit atomics, svnadmin should not attempt
> > to enable revprop caching because FSFS will reject it and log a warning.
> > svnadmin writes the latter to stderr - which confuses our tests.
> >
> > * subversion/svnadmin/main.c
> > (open_repos): enable revprop caching only if efficient
> >
> > Modified:
> > subversion/trunk/subversion/svnadmin/main.c
>
> What value does the revprop cache have for svnadmin? Are there any
> operations that would actually look at revprops more than once in a
> single svnadmin run?
>

All caches are enabled by default. With revprop packing,
we read the whole packed revprop file only once and put
all items into the cache. That speeds up dump & friends.

Also, any manipulation to some revprop will instantly
become visible to all other processes (cache invalidation).

-- Stefan^2.

-- 
*
Join us this October at Subversion Live
2012<http://www.wandisco.com/svn-live-2012>
 for two days of best practice SVN training, networking, live demos,
committer meet and greet, and more! Space is limited, so get signed up
today<http://www.wandisco.com/svn-live-2012>
!
*
Received on 2012-10-21 20:57:08 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.