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

Re: Problem with write-through mirroring on subversion 1.5.1

From: Konstantin Kolinko <knst.kolinko_at_gmail.com>
Date: Wed, 6 Aug 2008 05:19:10 +0400

2008/7/31 Heiko Helmle (horiba/eu) <heiko.helmle_at_horiba.com>:
> Hello,
>
> I have a weird problem with a subversion test setup - experimenting with
> svnsync and the write-through-mirror.
>
> apache is 2.2.8-1ubuntu0.3 (prefork mpm)
> subversion is 1.5.1dfsg1-1ubuntu1
>
> I have two repositories set up on the same apache - one master, one mirror
> - apache setup is the following:
>
> <Location /mirror>
> DAV svn
> SVNPath /home/hel/mirror
> SVNMasterURI http://localhost/master
> </Location>
>
> <Location /master>
> DAV svn
> SVNPath /home/hel/master
>
> </Location>
> CustomLog /var/log/apache2/svn_logfile "%t %u %{SVN-ACTION}e"
> env=SVN-ACTION
>
> Mirror is constructed using svnsync, UUIDs of both repos are identical -
> all according to the documentation.
>
> Then I check out the mirror as a working copy - works fine
>
> I change a file, commit - works fine
>
> I add a file -> svn add -> commit -> Adding test
> svn: Commit failed (details follow):
> svn: Server sent unexpected return value (400 Bad Request) in response to
> PROPFIND request for
> '/mirror/!svn/wrk/b3c6a8a6-f811-44a1-88ac-cf390e2e6914/test'
>
> This last operation did not log anything to svn_logfile - the access log
> looks like this:
> 127.0.0.1 - - [31/Jul/2008:00:51:32 +0200] "OPTIONS /mirror HTTP/1.1" 200
> - "-" "SVN/1.5.1 (r32289) neon/0.28.2"
> 127.0.0.1 - - [31/Jul/2008:00:51:32 +0200] "PROPFIND /mirror HTTP/1.1" 207
> 643 "-" "SVN/1.5.1 (r32289) neon/0.28.2"
> 127.0.0.1 - - [31/Jul/2008:00:51:32 +0200] "OPTIONS /mirror HTTP/1.1" 200
> 186 "-" "SVN/1.5.1 (r32289) neon/0.28.2"
> 127.0.0.1 - - [31/Jul/2008:00:51:32 +0200] "MKACTIVITY
> /master//!svn/act/b3c6a8a6-f811-44a1-88ac-cf390e2e6914 HTTP/1.1" 201 317
> "-" "SVN/1.5.1 (r32289) neon/0.28.2"
> 127.0.0.1 - - [31/Jul/2008:00:51:32 +0200] "MKACTIVITY
> /mirror/!svn/act/b3c6a8a6-f811-44a1-88ac-cf390e2e6914 HTTP/1.1" 201 317
> "-" "SVN/1.5.1 (r32289) neon/0.28.2"
> 127.0.0.1 - - [31/Jul/2008:00:51:32 +0200] "PROPFIND
> /mirror/!svn/vcc/default HTTP/1.1" 207 396 "-" "SVN/1.5.1 (r32289)
> neon/0.28.2"
> 127.0.0.1 - - [31/Jul/2008:00:51:32 +0200] "CHECKOUT /master//!svn/bln/297
> HTTP/1.1" 201 333 "-" "SVN/1.5.1 (r32289) neon/0.28.2"
> 127.0.0.1 - - [31/Jul/2008:00:51:32 +0200] "CHECKOUT /mirror/!svn/bln/297
> HTTP/1.1" 201 333 "-" "SVN/1.5.1 (r32289) neon/0.28.2"
> 127.0.0.1 - - [31/Jul/2008:00:51:32 +0200] "PROPPATCH
> /master//!svn/wbl/b3c6a8a6-f811-44a1-88ac-cf390e2e6914/297 HTTP/1.1" 207
> 460 "-" "SVN/1.5.1 (r32289) neon/0.28.2"
> 127.0.0.1 - - [31/Jul/2008:00:51:32 +0200] "PROPPATCH
> /mirror/!svn/wbl/b3c6a8a6-f811-44a1-88ac-cf390e2e6914/297 HTTP/1.1" 207
> 460 "-" "SVN/1.5.1 (r32289) neon/0.28.2"
> 127.0.0.1 - - [31/Jul/2008:00:51:32 +0200] "PROPFIND /mirror HTTP/1.1" 207
> 381 "-" "SVN/1.5.1 (r32289) neon/0.28.2"
> 127.0.0.1 - - [31/Jul/2008:00:51:32 +0200] "CHECKOUT
> /master//!svn/ver/297/ HTTP/1.1" 201 330 "-" "SVN/1.5.1 (r32289)
> neon/0.28.2"
> 127.0.0.1 - - [31/Jul/2008:00:51:32 +0200] "CHECKOUT /mirror/!svn/ver/297/
> HTTP/1.1" 201 330 "-" "SVN/1.5.1 (r32289) neon/0.28.2"
> 127.0.0.1 - - [31/Jul/2008:00:51:32 +0200] "PROPFIND
> /mirror/!svn/wrk/b3c6a8a6-f811-44a1-88ac-cf390e2e6914/test HTTP/1.1" 400
> 316 "-" "SVN/1.5.1 (r32289) neon/0.28.2"
> 127.0.0.1 - - [31/Jul/2008:00:51:33 +0200] "DELETE
> /master//!svn/act/b3c6a8a6-f811-44a1-88ac-cf390e2e6914 HTTP/1.1" 204 - "-"
> "SVN/1.5.1 (r32289) neon/0.28.2"
> 127.0.0.1 - - [31/Jul/2008:00:51:33 +0200] "DELETE
> /mirror/!svn/act/b3c6a8a6-f811-44a1-88ac-cf390e2e6914 HTTP/1.1" 204 - "-"
> "SVN/1.5.1 (r32289) neon/0.28.2"
>
> Notice the very last PROPFIND -- it does not get proxied to the master -
> the error 400 is returned directly from the mirror.
>
> The error_log also complains:
> [Thu Jul 31 00:51:32 2008] [error] [client 127.0.0.1] Could not fetch
> resource information. [400, #0]
> [Thu Jul 31 00:51:32 2008] [error] [client 127.0.0.1] (2)No such file or
> directory: An unknown activity was specified in the URL. This is generally
> caused by a problem in the client software. [400, #0]
>
> This error messages look like they come from the mirror, not from the
> master.
>
> Did I overlook something? I'm a bit stumped, since changes work, adds do
> not...
>
> With kind regards
> Heiko Helmle
>

It looks like a regression in svn 1.5.1.

See other threads,
http://groups.google.com/group/tortoisesvn/browse_frm/thread/b1a50e03fd5dbe72/e0856dbafbe5a4e7
http://subversion.tigris.org/servlets/BrowseList?list=users&by=thread&from=671265

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-06 03:20:02 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.