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

Re: FSFS7: 'svnadmin hotcopy' requires write access to the source

From: Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com>
Date: Tue, 16 Jun 2015 22:03:50 +0200

On Tue, Jun 16, 2015 at 9:38 PM, Branko Čibej <brane_at_wandisco.com> wrote:

> On 16.06.2015 20:49, Stefan Fuhrmann wrote:
> > Once we are at it, let's detect pack operations during
> > hotcopy (compare pack status before & after the hotcopy).
> > Then we can at least warn the user of older format repos
> > that their hotcopy is possibly corrupt now.
> We should probably do that regardless of FSFS format?

Yes (and it is probably even less code to do so).

Alternatively, we could copy revisions explicitly in strict
order as opposed to blindly copying directory contents.
That way, we would detect a pack process removing
files under our very eyes and restart the copying at the
appropriate shard. Disabling pack during hotcopy would
still be a good idea but no longer necessary.

I guess such a change would be 1.10 material.

-- Stefan^2.
Received on 2015-06-16 22:05:07 CEST

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