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

Re: trivial yet very serious bug, suggestions welcome

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-10-28 02:13:26 CET

On Sat, Oct 27, 2001 at 08:44:47PM -0400, Greg Hudson wrote:
>...
> >> Touching the checked out files so that their last modified time is
> >> 1s in the past is another solution.
>
> > You would then have a bunch of false hits, need to checksum the
> > files, and then update the timestamps to avoid future false hits. I
> > like the delay idea much better.
>
> Eh? I must not have been clear. You:
>
> Write the file
> Adjust the mod time of the file down by 1s
> Record the decremented mod time

Ah. I didn't realize you were thinking about step 3. :-)

> No false hits and no extra checksumming.

Agreed.

> But it's still a lie, and
> could cause problems in some very high-speed situations. The delay
> idea is more correct, though it is also performance-limiting.
> (Admittedly, the cases where it causes a serious performance problem
> are probably also the situations where it's dangerous to lie about
> timestamps.)

Well... I'd assume it would be the cmdline client that would be imposing
that 1 second delay. Somebody could always write a custom, high-perf client
that didn't have it :-)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:46 2006

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.