On Mon, 18 Apr 2011 16:05 +0530, "Arwin Arni" <ar...@collab.net> wrote:
> 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.
> 

Why are you expecting it to succeed?

Consider:

% svn co ^/ wc
% cd wc
% svn mkdir -mm ^/branches/foo
% svn cp trunk branches/bar
% svn ci -mm

which should fail with 'out of date'.

Therefore I think your case should fail as well.

> 
> 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
> 
> Email had 2 attachments:
> + out_of_date_slave_commit_test.patch.txt
>   2k (text/plain)
> + out_of_date_slave_commit_test.log.txt
>   1k (text/plain)

Reply via email to