On Sat, Jul 06, 2002 at 11:14:06PM -0700, Scott G. Miller wrote:
> On Sat, Jul 06, 2002 at 10:02:08PM -0400, SiliconZealot wrote:
> > Is there any way to make the node shut down slower, and maybe wait for the
> > DataStore to stop working?
> > 
> > 
> > I am fairly certain that the reason the DataStore becomes corrupted, is that
> > Java shuts down while the DataStore is still writing out data.  I can
> > corrupt my machine's DataStore 50% of the time just by telling it to
> > shutdown and restart, or update .jar file.
> 
> Well its farely sad if thats the reason, since I'm pretty sure hard
> shut down not causing corruption was a goal (it was for mine).

It was always the goal. I have asked Tavin about this, and he feels very
sure that the shutdown is in fact not causing the corruption, it only
appears too because it is only detected on startup. (I hate to think
what sort of weird data corruption is occuring before the restart.)

It also seems that whatever bug is causing this is somewhere in the
accounting code (freenet.fs.acct). And it should be noted that how often
it occurs seems dependent on the system - some people get it all the
time, while the node hawk.freenetproject.org never seems to get it (hawk
is only running a 10 meg DataStore though).


-- 

Oskar Sandberg
[EMAIL PROTECTED]

_______________________________________________
devl mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to