Skip to content

Commit

Permalink
Merge pull request #5459 from edwintorok/private/edvint/redo_report
Browse files Browse the repository at this point in the history
redo_log: report redo log as broken if we cannot find the block device
  • Loading branch information
edwintorok authored Apr 15, 2024
2 parents 560ff8c + 1fdb4ba commit c9bb1f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ocaml/database/redo_log.ml
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,8 @@ let startup log =
) ;
match !(log.device) with
| None ->
D.info "Could not find block device"
D.info "Could not find block device" ;
broken log
| Some device ->
D.info "Using block device at %s" device ;
(* Check that the block device exists *)
Expand Down

0 comments on commit c9bb1f2

Please sign in to comment.