diff options
author | Arun Banala <arun.banala@mongodb.com> | 2021-11-29 12:59:18 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-12-03 20:05:44 +0000 |
commit | 3242083daae059800badc55b6c4e050454fa6c70 (patch) | |
tree | afaeea07469711ed8a667043896146692628d335 /src/mongo/db/s/sharding_util.h | |
parent | 6ef5da0c8cdce8a4398ad00ede82ffa674f4e62c (diff) | |
download | mongo-3242083daae059800badc55b6c4e050454fa6c70.tar.gz |
Revert "SERVER-60694 Move collMod to DDL coordinator infrastructure"
Diffstat (limited to 'src/mongo/db/s/sharding_util.h')
-rw-r--r-- | src/mongo/db/s/sharding_util.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/mongo/db/s/sharding_util.h b/src/mongo/db/s/sharding_util.h index 1a2c3c51eeb..684568b0214 100644 --- a/src/mongo/db/s/sharding_util.h +++ b/src/mongo/db/s/sharding_util.h @@ -34,7 +34,6 @@ #include "mongo/db/namespace_string.h" #include "mongo/db/operation_context.h" #include "mongo/executor/task_executor.h" -#include "mongo/s/async_requests_sender.h" #include "mongo/s/shard_id.h" namespace mongo { @@ -52,12 +51,11 @@ void tellShardsToRefreshCollection(OperationContext* opCtx, /** * Generic utility to send a command to a list of shards. Throws if one of the commands fails. */ -std::vector<AsyncRequestsSender::Response> sendCommandToShards( - OperationContext* opCtx, - StringData dbName, - const BSONObj& command, - const std::vector<ShardId>& shardIds, - const std::shared_ptr<executor::TaskExecutor>& executor); +void sendCommandToShards(OperationContext* opCtx, + StringData dbName, + const BSONObj& command, + const std::vector<ShardId>& shardIds, + const std::shared_ptr<executor::TaskExecutor>& executor); } // namespace sharding_util } // namespace mongo |