lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Tucker" <m...@jivesoftware.com>
Subject RE: FSDirectory patch for file renaming
Date Tue, 18 Feb 2003 03:19:48 GMT
Dmitry,

> We've also seen errors related to the rename failures, 
> especially when 
> the Windows machine was heavily loaded (a lot of virtual memory use, 
> swapping, etc.). Java bug database has numerous reports about 
> this issue 
> as well, and the general resolution (last time I looked at 
> these bugs) was "too bad".

Yeah, it's an issue that irks me a lot. I've wasted quite a few hours on
it... :( 

> So, I would agree that the patch makes sense, 
> as long as it does not result in strange behavior when the error condition
is 
> legitimate.

I can't think of any strange behavior it would cause. If File.renameTo
fails, it seems pretty natural to just try it another way.

Regards,
Matt


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message