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

[PATCH] Add a test in dav-mirror-autocheck.sh to showcase a out-of-date slave related bug

From: Arwin Arni <arwin_at_collab.net>
Date: Mon, 18 Apr 2011 16:05:14 +0530

Hi All,

This patch adds a test case to
subversion/tests/cmdline/dav-mirror-autocheck.sh to showcase the
following bug.

In a master/slave repositories setup where writes are proxied to the
master and reads are handles by the slave repository, if the slave
repository is behind the master by one or more revisions, certain
operations that one would expect to succeed are failing.

Example:

$svn cp -m "Create branch" ^/trunk ^/branches/newbranch (from a working
copy of the slave)

will FAIL if the master has an unsynced commit (not yet synced with
slave) anywhere below ^/branches.

i.e Coder 1 does a commit to branches/some-other-branch (master has
received the commit, slave hasn't yet synced)
     Coder 2 tries to create a new branch via above command. It fails.

I'll shortly file an issue in the tigris tracker for this.

Regards,
Arwin Arni

Received on 2011-04-18 12:36:01 CEST

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.