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

Re: DAV-MIRROR

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2006-12-10 23:35:25 CET

On Sat, 9 Dec 2006, Justin Erenkrantz wrote:

> On 12/9/06, David Summers <david@summersoft.fay.ar.us> wrote:
>> P.S. - I just now today have a reason to try httpd 2.2.X with whatever
>> required APR goes with that because Subversion trunk just yesterday
>> implemented repository mirroring where there can be one master with N
>> slaves and the users commit to the slaves and it re-directs to the commit
>> to the master; At my company, I need this feature *RIGHT NOW*, so I'll be
>> trying to build the requiste packages for Linux and Windows.
>
> Ha! That feature has been on a branch for the last four years - I
> figured it was time to merge it. =)
>
> Please let me know how it works for you - note that it's not outside
> the realm of possibility that we might need to do some minor fixes -
> but it was in the 'works for me' category. Note that only the slaves
> need the new mirror code.
>

Status Update: I think I'm close. Currently I got the slave to compile,
pass all tests, and run with r22631 and HTTP/HTTPS proxying going on with
RHEL4, httpd-2.2.3, apr-(util)-1.2.7, neon-0.26.1, anything else I need to
specifiy?

I'm now trying to get the svnsync to work in such a situation and running
into a bit of a snag. When I try to run the "svnsync sync
https://dsum/repos/test" command on the slave (dsum), it asks me for
username/password on the slave server and then on the master server and
then it says:

svnsync: DAV request failed; it's possible that the
repository's pre-revprop-change hook either failed or is non-existent
svnsync: At least one property change failed; repository is unchanged

I'm thinking that the svnsync command is now also getting re-directed to
the master in a kind of "loop" where when I try
to svnsync the slave, it is now getting re-directed to the master to try
to run the svnsync there.

I'm hoping I can just tweak my configuration on the master or slave and
fix this but am uncertain how to proceed.

Any thoughts/suggestions/pointers?

Thanks!

--
David Wayne Summers        "Linux: Because reboots are for hardware upgrades!"
david_at_summersoft.fay.ar.us PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  0B44 B118 85CC F4EC 7021  1ED4 1516 5B78 E320 2001
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Dec 10 23:16:24 2006

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