From 576c2a9c939878f55474b81192e00a76459b0fdc Mon Sep 17 00:00:00 2001 From: Xiaoxi Wang Date: Tue, 28 Feb 2023 22:41:30 -0800 Subject: [PATCH] wait extra time to make sure rebootWorker request sent to storage server --- fdbcli/KillCommand.actor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fdbcli/KillCommand.actor.cpp b/fdbcli/KillCommand.actor.cpp index c8fa75bb1c..befd329b09 100644 --- a/fdbcli/KillCommand.actor.cpp +++ b/fdbcli/KillCommand.actor.cpp @@ -105,6 +105,8 @@ ACTOR Future killCommandActor(Reference db, "fetch latest addresses.\n", addressesStr.c_str()); } else { + // delay in case the network queue is not flush before the client exits + wait(delay(3.0)); printf("Attempted to kill %zu processes\n", tokens.size() - 1); } }