On Sun, Jan 19, 2003 at 10:47:24AM -0800, Pascal wrote:
> Update of /cvsroot/freenet/freenet/src/freenet/fs/dir
> In directory sc8-pr-cvs1:/tmp/cvs-serv21158
> 
> Modified Files:
>       NativeFSDirectory.java 
> Log Message:
> Old indexes now get renamed instead of overwritten.  If the new index is not written 
>out completely before Fred dies, the old index will be used on startup.

Hmmm. Need to be really careful with this. The reason I didn't do this
in the first place was that files might have been committed between the
time of the last successful commit and the time of the unsuccessful
commit... IF the code that writes out makes VERY sure that it doesn't
commit anything if the new index f*cked up, this is OK.

-- 
Matthew Toseland
[EMAIL PROTECTED][EMAIL PROTECTED]
Full time freenet hacker.
http://freenetproject.org/
Freenet Distribution Node (temporary) at http://amphibian.dyndns.org:8889/bKX3IbYHOO0/
ICTHUS.

Attachment: msg06306/pgp00000.pgp
Description: PGP signature

Reply via email to