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

Re: [PROPOSAL] Create branch for repository mirroring?

From: Justin Erenkrantz <jerenkrantz_at_apache.org>
Date: 2002-12-13 07:28:53 CET

--On Friday, December 13, 2002 12:21 AM -0600 Ben Gollmer
<ben@jatosoft.com> wrote:

> I think this is a great idea, not only for scalability but for
> redundancy. My important SQL databases replicate to a backup
> server, it would be cool if SVN repositories could do that as well.
>
> Just curious - if the master dies, how do you promote a slave to be
> the master? New svnadmin command?

My trick is that this is done without changing the database in
anyway. For this method of replication, we don't have to change the
backend at all. For other types, we must - see Repository GUID
thread.

Given what I have, the slaves would have to be reconfigured to point
at the new master (simply change the right Apache directive) and the
new master would have to install the post-commit script to update the
rest of the slaves.

Ideally, I'd like to see the slaves pull the changes from the master
on-demand rather than relying on a push from the master. I don't
think WebDAV has the concept of repository synchronization. It's a
rather interesting area. -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 13 07:29:41 2002

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.