From 7b4f7ce4e0b090421fc717eda56bb4f9917ea3c8 Mon Sep 17 00:00:00 2001 From: Chaoguang Lin Date: Sun, 20 Dec 2020 22:47:55 -0800 Subject: [PATCH] update comments --- fdbclient/NativeAPI.actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdbclient/NativeAPI.actor.cpp b/fdbclient/NativeAPI.actor.cpp index cc79d10a0b..37a60f2339 100644 --- a/fdbclient/NativeAPI.actor.cpp +++ b/fdbclient/NativeAPI.actor.cpp @@ -4735,11 +4735,11 @@ ACTOR Future addInterfaceActor( std::map rebootWorkerActor(DatabaseContext* cx, ValueRef addr, bool check, int duration) { // fetch the addresses of all workers state std::map> address_interface; - // TODO : find out when this is invalid if (!cx->getConnectionFile()) return 0; Standalone kvs = wait(getWorkerInterfaces(cx->getConnectionFile())); ASSERT(!kvs.more); + // Note: reuse this knob from fdbcli, change it if necessary Reference connectLock(new FlowLock(CLIENT_KNOBS->CLI_CONNECT_PARALLELISM)); std::vector> addInterfs; for( auto it : kvs ) {