RE: svn commit: r1676535 -/subversion/trunk/subversion/tests/libsvn_subr/io-test.c
From: Bert Huijben <bert_at_qqmail.nl>
Date: Tue, 28 Apr 2015 18:54:51 +0200
Not on a pc, but this uses a Windows function that allows moving the file while it is still open. Normally when the file is reopened for moving by the os, virus scanners will lock the file until they are sure they are safe. In many cases involving our retry logic)
This moves this check to *after we are done* instead of between the flush and the rename. So the virus scanner still does its work but without delaying file installs.
The performance improvement is quite visible with virus scanners and on network shares where this avoids quite a but I client-server synchronization. (Even more when combined)
Bert
-----Original Message-----
On 28 April 2015 at 18:42, Philip Martin <philip.martin_at_wandisco.com> wrote:
-- Ivan ZhakovReceived on 2015-04-28 18:55:19 CEST |
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.