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

Re: Write-through proxy: easy slave-server de-synchronization

From: Mark Phippard <markphip_at_gmail.com>
Date: Tue, 15 Jul 2008 11:50:19 -0400

On Tue, Jul 15, 2008 at 11:39 AM, Sergey Proskurnya <alaley_at_gmail.com> wrote:

> I've examined write-through proxy feature and
> found that the state of Slave server could be easily
> de-synchronized (against the repo state of Master-server).
>
> I've figure out that if someone commits to Master while
> there is no connection between Slave and Master (ISP failure?),
> then sample post-commit hook fails to synchronize repo state.
> And after such event, all subsequent attempts will fail because
> incremental "dump load" will fail also (or Slave will just loose one
> revision?)

I'd suggest you use svnsync to maintain the slave. It will be smart
enough to send all revisions it is missing. I think the examples were
written while svnsync was still in development.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-15 17:50:51 CEST

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

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