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

Re: subversion multisite

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Mon, 04 May 2009 10:41:17 -0500

Lira Olavo wrote:
> I have a question over this problem, if I don’t want to have the slave
> read-only, is there an easy way of doing it?
>
>
>
> I was wondering in implementing some triggers that would warn the other
> servers when someone is doing a commit so no one could do a commit at 2
> places at the same time… is there another way of doing it? Really having
> multi site repositories where everyone reads and writes in all projects?

That's basically what happens - you write to one and then the svnsync
writes to the others. You just need to agree on a master where you
proxy all of the direct writes to avoid race conditions - and the
clients don't need to know anything about it. Being able to read from
the local copy is a plus for efficiency.

-- 
   Les Mikesell
    lesmikesell_at_gmail.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2057575
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-04 17:42:28 CEST

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