Hi, I was just reading Ian's latest comments about datastore corruption from mail archives and how it might get corrupted when processes get killed unexpectly.
Is it possible to install some kind of signal handlers in Fred so you can caught this signal (SIGTERM and perhaps others too) and shut down? This is how it's done in *nix world. I hope there is such functionality provided by Java. I don't think it's easy to efficiently use a datastore which can be shut down at any times since even operating system couldn't buffer any writes etc. Of course design could try to be as resistant as possible. All corruption would be rare when normal killing (by user or by shutdown scripts) would not cause any problems. - Jukka _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl
