|
Great to see you have a look at this problem. I've noticed that upon unclean shutdowns, updates are usually lost. A quick glance at the code indicated that the JDBM commit was only called during clean shutdown, so this issue was already on my list. Since even if there are not formal transactions, DS should try to ensure durability of updates. This means committing after each update by default, despite the performance hit it will bring about.
Alex Karasulu made changes - 27/Aug/06 06:07 PM
Sync on write is now the default mechanism without the buffer cache. We should have all write based operations pushed directly to disk.
Alex Karasulu made changes - 27/Aug/06 06:08 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This flag should be set to true by default, and the server.xml configuration may contains a way to modify this value to false (even if this seems obviously dangerous to do so ...)