From b1272a75ec3a3d14ec36d06aae3b763d8e246d9e Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Sat, 9 Nov 2019 21:29:05 +0100 Subject: [PATCH] create from state in series, not parallel to avoid communication mishappenings the socket lock was removed in 58c34907 in favour of a global lock -- but the bootup used an iter_p for create (which is usually called with the lock being held by the caller) --- daemon/albatrossd.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/albatrossd.ml b/daemon/albatrossd.ml index 58bca9d..260c8a3 100644 --- a/daemon/albatrossd.ml +++ b/daemon/albatrossd.ml @@ -186,7 +186,7 @@ let jump _ influx = | Some s -> write_reply "stat" s txt wire >|= fun _ -> () in - Lwt_list.iter_p (fun (name, config) -> + Lwt_list.iter_s (fun (name, config) -> create stat_out log_out cons_out stub_data_out stub_hdr name config) (Vmm_trie.all old_unikernels) >>= fun () ->