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

Re: FW: [PATCH] Sleep for timestamps in the right places

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 05 Apr 2013 13:08:57 +0100

"Bert Huijben" <bert_at_qqmail.nl> writes:

> And we use some of this time to see if you have a modern filesystem that
> stores more timestamp details than just seconds (by looking at the existing
> filesystem node passed to the function) and if you have such a filesystem we
> don't sleep at all.

We still sleep on filesystems with high resolution but we switch to a
millisecond sleep instead of a second sleep.

I still think that sleeping when use-commit-times=yes is odd. With
use-commit-times=no we know that timestamps set by the operation for are
in the past and the sleep takes account of the limited precision. With
use-commit-times=yes we simply don't know that timestamps are in the
past: they could be years in the past, slightly in the past, slightly in
the future or years in the future. Sleeping for 1s, or 1ms, in the hope
that it will solve problems with one tiny part of that range when it
could also create problems in another tiny part of that range is odd.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2013-04-05 14:09:43 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.