I am trying to set up ObjectDb in a safe way that allows turning the machine off while database transactions are running.
I would like to test if things are really safe and if I don't get corrupted database files in any possible case.
I found "recovery" and "recording" in the objectdb.conf file. Which one is safer to use?
I suppose I should turn on sync="true", right?
I already tried playing with both configuration settings with the debugger and I put a breakpoint in FileDescriptor#sync(). It never got triggered with no setting that I could come up with. How come?
Thanks in advance for enlightenment on the subject.