Skip to content

Commit c09adca

Browse files
author
Christian Lindig
committed
CA-384148 remove lock in Redo_log.startup
The lock is circular: startup: lock -> broken -> shutdown : lock Signed-off-by: Christian Lindig <christian.lindig@cloud.com>
1 parent b4111db commit c09adca

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ocaml/database/redo_log.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,6 @@ let healthy log =
626626
exception TooManyProcesses
627627

628628
let startup log =
629-
with_lock log.mutex @@ fun () ->
630629
if is_enabled log then (
631630
try
632631
( match !(log.pid) with

0 commit comments

Comments
 (0)