Don't starting writing to new log file until commit lock is held, otherwise recovery might redundantly apply the last changes.
Merge remote-tracking branch 'remotes/origin/master' into repl
Updates for redo interface changes.