Recovery algorithm using a complete redo log