diff --git a/src/server/debugcmd.cc b/src/server/debugcmd.cc index 4e609109c..ad44fa8b2 100644 --- a/src/server/debugcmd.cc +++ b/src/server/debugcmd.cc @@ -410,7 +410,7 @@ void DebugCmd::PopulateRangeFiber(uint64_t from, uint64_t num_of_keys, } } - ess.RunBlockingInParallel([&](EngineShard* shard) { + ess.AwaitRunningOnShardQueue([&](EngineShard* shard) { DoPopulateBatch(options.prefix, options.val_size, options.populate_random_values, params, ps[shard->shard_id()]); });