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

AW: SQLite locking for WCNG on NFS

From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Wed, 22 Feb 2012 10:08:13 +0000


-----Urspr├╝ngliche Nachricht-----
Von: Philip Martin [mailto:philip.martin_at_wandisco.com]

>Branko ─îibej <brane_at_apache.org> writes:
>> On 20.02.2012 09:51, Markus Schaber wrote:
>>> Hi,
>>> What about an "-exclusive" general option to the svn command line client, which triggers exclusive wc access for that specific command invocation / session?
>> And you expect users to know when to use it, and especially when /not/
>> to use it?
>> Come now. Controlling performance tweaks from the user interface is
>> hardly good design.

> Not sure I agree, I don't see how anything other than the user can make the choice.
> The user has more information than the application can ever have. If the user wants to be able to run two subtree updates in parallel then exlusive locking must not be enabled. If the user wants to run status during an update then exclusive locking must not be enabled. If the user is happy with one process having exclusive access then exclusive locking is a major performance gain. If the user isn't making that decision how else can it be made?

In case of the CoDeSys Subversion Plugin, said Plugin is the only one expected to access the working copy, as it is hidden from the user. So using an exclusive lock to gain speedups certainly is an option.

Best regards

Markus Schaber

We software Automation.
3S-Smart Software Solutions GmbH
Markus Schaber | Developer
Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 | Fax +49-831-54031-50
Email: m.schaber@3s-software.com | Web: http://www.3s-software.com 
CoDeSys internet forum: http://forum.3s-software.com
Download CoDeSys sample projects: http://www.3s-software.com/index.shtml?sample_projects
Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915 
Received on 2012-02-22 11:08:50 CET

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