I just had my laptop freeze and had to hard reboot.
When it came back both the blockchain and addr databases were corrupted and failed to load.
I had to restore an old backup to get bitcoin to run again.
Is it possible to somehow keep the database files consistent even in the event of a power failure or OS lockup?