Hi Stefan and David,
> On 06.05.2016 13:12, Stefan Hett wrote:
>> Hi David,
>>> Hi David,
>>>> I run another check with 1000 files in a test directory:
>>>> -> Just saying 'svn lock *' works fine, it locks file after file and gives a good visual feedback of what is happening.
>>>> -> TortoiseSVN (v1.9.4) instead shows up nearly immeadiatly "Locked by ... file ..." for about 37 files, then pauses with transfer-speed-zero. If waiting long enough (about 5 min) it continues working but throws an already-locked-error for about 50 files and then continues locking the missing ones correctly.
>>>> For me it seems that TortoiseSVN somehow tries to lock a bunch of files immeadiatly but can't receive all server-answers on a slow (bad?) connection (Java-SSL-Tunnel) and finally times out. SVN instead seems to work file-by-file (as did Tortoise 1.8.12) and manages to lock all files without problems.
>>>> Could this be a possible explanation? Is there a possibility (i.e. a setting) to switch back to the "old" file-by-file locking?
>>> That's kind of my suspicion here too (aka: some operation fails/breaks
>>> on the server or the transmission is lost, client waits for a time out
>>> and then you have the hang which you are describing).
>>> Maybe Stefan Küng can confirm whether TSVN just utilizes the SVN
>>> library here directly (rather than doing some special things itself).
>>> If so, it's worth moving that on to the SVN users list, I guess...
> TSVN of course uses the svn library APIs to do the locking.
> It passes all files to be locked to the API at once, and then the API
> would do the locking.
With regards to determine the impact from the Subversion project point
of view: Do you know whether that API was available in 1.8 already (aka:
passing multiple files to be locked) or whether that API was introduced
in 1.9 (and TSVN 1.8 used a different API)?
Also FWIW: After thinking further about the impact on SVN I went ahead
and forwarded the issue to the SVN user's list referencing this thread
here. Topic on the SVN list: "Problem with locking multiple files."
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-05-06 13:43:10 CEST