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:04:15 +0530
Julian,
>As I understand it, the proxy was designed originally with some rules
> * The following operations are passed through to the master:
Add MERGE, LOCK, UNLOCK and any request having '!svn' in its URI.
> * The following operations are handled by the proxy:
> * The following operations are handled by the proxy if referring to a
>Now we discovered that this is too low-level, and in fact if a client
MKACTIVITY is *not* commit though it is a starting point of any commit.
>Can we define the new rules of proxying? I'm unfamiliar with it so my
>RULES OF PROXYING
> * The following operations are passed through to the master:
Add MERGE, LOCK, UNLOCK and any request having '!svn' in its URI.
> * The following operations are handled by the proxy:
> * The following operations are handled by the proxy if referring to a
>And what is the theory behind these rules?
> * A client that has completed a commit needs to see the new state of
I think you misunderstood the problem, the error we have observed occurs even before the commit completes rather it occurs during the start phase of the commit.
> * A client that has completed a commit must have started a commit and
commit is not complete here.
> * A commit and any associated housekeeping tasks always occur within a
It can occur over multiple connections though most of the time it may happen on the same connection. If it happens on the same connection we do not need 'SVN-ACTION' header at all as we can belive the connection pool, unfortunately it is not.
> * Only the PROPFIND needs this special handling, because it is the
Not sure of other operations :).
> * Only the MKACTIVITY needs to trigger this behaviour, because that is
I think 'MERGE' creates the head revision, we use MKACTIVITY as identification of commit in progress.
With regards
|
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.