From bd9fdcb11df9bf77633252ac1f42093080c26046 Mon Sep 17 00:00:00 2001 From: Johannes Scheuermann Date: Wed, 8 Mar 2023 16:08:43 +0000 Subject: [PATCH] Add longer delay after kill command (#1533) * Increase wait time after kill to ensure reboot signals was sent out to all processes --- fdbclient/admin_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdbclient/admin_client.go b/fdbclient/admin_client.go index 5354dabcb..d1cb91a95 100644 --- a/fdbclient/admin_client.go +++ b/fdbclient/admin_client.go @@ -628,7 +628,7 @@ func (client *cliAdminClient) KillProcesses(addresses []fdbv1beta2.ProcessAddres } killCommand := fmt.Sprintf( - "kill; kill %[1]s; sleep 1; kill %[1]s; sleep 1; kill %[1]s", + "kill; kill %[1]s; sleep 1; kill %[1]s; sleep 5", fdbv1beta2.ProcessAddressesStringWithoutFlags(addresses, " "), ) _, err := client.runCommandWithBackoff(killCommand)