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

View File

@ -105,6 +105,8 @@ ACTOR Future<bool> killCommandActor(Reference<IDatabase> db,
"fetch latest addresses.\n", "fetch latest addresses.\n",
addressesStr.c_str()); addressesStr.c_str());
} else { } 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); printf("Attempted to kill %zu processes\n", tokens.size() - 1);
} }
} }