Skip to content

Commit bd9fdcb

Browse files
authored
Add longer delay after kill command (FoundationDB#1533)
* Increase wait time after kill to ensure reboot signals was sent out to all processes
1 parent 0d5177f commit bd9fdcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fdbclient/admin_client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ func (client *cliAdminClient) KillProcesses(addresses []fdbv1beta2.ProcessAddres
628628
}
629629

630630
killCommand := fmt.Sprintf(
631-
"kill; kill %[1]s; sleep 1; kill %[1]s; sleep 1; kill %[1]s",
631+
"kill; kill %[1]s; sleep 1; kill %[1]s; sleep 5",
632632
fdbv1beta2.ProcessAddressesStringWithoutFlags(addresses, " "),
633633
)
634634
_, err := client.runCommandWithBackoff(killCommand)

0 commit comments

Comments
 (0)