[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: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2001-10-30 18:18:04 CET

Greg Hudson <ghudson@MIT.EDU> writes:
> 1. A second ticks by on the client
> 2. A second ticks by on the file server
> 3. Client writes out a file
> 4. Another second ticks by on the client
> 5. The client checks the time, determines that a second has passed
> since the file was written, and doesn't do the sleep(1) before
> exiting.
> 6. The file is modified, but is assigned the same mod time by the
> file server since it's still the same second over there.
> 7. Another second ticks by on the server.
> So, maybe we should just always sleep(1) if we recorded any
> timestamps whatsoever.

Yah, I think so.

Greg H, care to make the change? It's issue #542. After a rude fix
like unconditional sleep(1), you could see how it affects real-world
performance and decide based on that whether the issue is fully
resolved or whether further optimization is needed (if any is

(If not enough free time to do this, please let us know).


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.