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

RE: [PATCH] Make svn clients indicate their operation name to backend(right now only to DAV)

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: Thu, 7 Jan 2010 00:19:52 +0530

>>>Let me see if I've got this right. There is a MKACTIVITY that goes to
>>>the master, then a PROPFIND that goes to the slave, and finally a
>>>CHECKOUT that goes to master. The MKACTIVITY and CHECKOUT go to the
>>>master because they are obviously write operations, the PROPFIND goes
>>>to the slave because it cannot be distinguished from a read-only
>>>operation that doesn't need to access the master. The PROPFIND
>>>returns out-of-date info that causes the CHECKOUT to fail.
>> Yes you got it correct.

>So, on the client side libsvn_ra_neon and libsvn_ra_serf could track
>whether the PROPFIND needs to go to the master or the slave and then
>add a suitable header to the request. libsvn_client doesn't need to
>change (which is what I think Justin and Mike are suggesting).

NO, Client is unaware of existence of master or proxying scheme at all.

Only the proxy knows the existence of Master.

With regards
Kamesh Jayachandran
Received on 2010-01-06 19:52:04 CET

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