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

Re: [PATCH 0/2] allow git-svn fetching to work using serf

From: Branko Čibej <brane_at_wandisco.com>
Date: Sun, 07 Jul 2013 20:00:40 +0200

On 07.07.2013 19:40, Jonathan Nieder wrote:
> (cc-ing subversion's users@ list for advice)
> Kyle McKay wrote:
>> On Jul 6, 2013, at 18:37, Jonathan Nieder wrote:
>>> Kyle McKay wrote:
>>>> Begin forwarded message:
>>>>> [2] http://subversion.tigris.org/issues/show_bug.cgi?id=2932
>>> Ah, thanks for the context.
>>> It's still not clear to me how we know that ra_serf driving the editor
>>> in a non depth-first manner is the problem here. Has that explanation
>>> been confirmed somehow?
> [...]
>> Since ra_serf makes multiple connections to the server (hard-coded
>> to 4 prior to svn 1.8, defaults to 4 in svn 1.8 but can be set to
>> between 1 and 8) it makes sense there would be multiple active calls
>> to apply_textdelta if processing is done as results are received on
>> the multiple connections.
> Ah, that's worrisome. Do I understand you correctly that to work with
> ra_serf in skelta mode, callers need to make their apply_textdelta
> callback thread-safe?

No; the editor drive is single-threaded, but the order of the operations
isn't strictly depth-first.

Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2013-07-07 20:01:17 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.