1
0
mirror of https://github.com/apple/foundationdb.git synced 2025-05-31 10:14:52 +08:00

wait extra time to make sure rebootWorker request sent to storage server

This commit is contained in:
Xiaoxi Wang 2023-02-28 22:41:30 -08:00
parent 6b26f5a6da
commit 576c2a9c93

@ -105,6 +105,8 @@ ACTOR Future<bool> killCommandActor(Reference<IDatabase> 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);
}
}