Recovering from a system crash using undo/redo-log