Dan Mahoney, System Admin <danm@...> wrote: > How is this different from how a crash is handled now? We're at the mercy > of the berkeley engine instead of being at the mercy of the dumpfile. If > the milter crashes while writing the dumpfile we're still screwed. You are not: we dump in a new file and rename the new file into the old one. That means that unless your OS plays the dangerous game of flushing metadata asynchronously, you are safe whatever happens. On reasonable systems, rename(2) says something like: "rename() guarantees that an instance of to will always exist, even if the system should crash in the middle of the operation." When I tried to add DBD support, I discovered I could not have such a garantee anymore, and this is why I gave it up. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz manu@...
Message
Re: [milter-greylist] Which Version for Production?
2007-06-15 by manu@netbsd.org
Attachments
- No local attachments were found for this message.