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

Re: test failure on .36

From: Mark Benedetto King <mbk_at_lowlatency.com>
Date: 2004-01-23 00:00:41 CET

On Thu, Jan 22, 2004 at 02:47:08PM -0800, Lee, Kevin wrote:
> This appears to be a problem due to running on a multiprocessor machine.
> The errors are intermittent due to task scheduling. SVN attempts to
> change a file to read-only, but the file does not exist yet because a
> different thread (or process?) has not completed creating the file yet.
>
>
>
> I hacked a simple change to the svn_is_set_file_read_only (io.c file)
> where it checks to see if apr_file_attrs_set returns an error, it goes
> to sleep for a second and then tries again. This is only a hack, but it
> makes the regression tests all pass now for both file and http access
> whereas before I would get random failures.
>
>
>
> Is this something that needs to be fixed? SVN seems to function
> correctly even though it reports the error. Are there other potential
> problems when running on a multi-proc machine?
>

What OS and filesystem is this occuring on?

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 23 00:04:10 2004

This is an archived mail posted to the Subversion Dev mailing list.