Skip to content

Commit

Permalink
Add longer delay after kill command (FoundationDB#1533)
Browse files Browse the repository at this point in the history
* Increase wait time after kill to ensure reboot signals was sent out to all processes
  • Loading branch information
johscheuer committed Mar 8, 2023
1 parent 0d5177f commit bd9fdcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fdbclient/admin_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bd9fdcb

Please sign in to comment.