diff options
author | Bernard Gorman <bernard.gorman@gmail.com> | 2021-03-24 14:07:04 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-04-02 21:51:14 +0000 |
commit | ea51edf33aa685e8b8d4692ee42b8c0e8e9cfb98 (patch) | |
tree | a3866340e9e80201eb9c9b675200700cc30ad53d /src/mongo/s/client | |
parent | 0198bcfb938ccd788f90a2f5e6156871cf18330f (diff) | |
download | mongo-ea51edf33aa685e8b8d4692ee42b8c0e8e9cfb98.tar.gz |
SERVER-54975 Rename IDL parser classes to use CommandRequest and CommandReply suffixes
Diffstat (limited to 'src/mongo/s/client')
-rw-r--r-- | src/mongo/s/client/shard.h | 2 | ||||
-rw-r--r-- | src/mongo/s/client/shard_remote.cpp | 4 | ||||
-rw-r--r-- | src/mongo/s/client/shard_remote.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/s/client/shard.h b/src/mongo/s/client/shard.h index 6e707423414..be61ec54877 100644 --- a/src/mongo/s/client/shard.h +++ b/src/mongo/s/client/shard.h @@ -217,7 +217,7 @@ public: */ virtual Status runAggregation( OperationContext* opCtx, - const AggregateCommand& aggRequest, + const AggregateCommandRequest& aggRequest, std::function<bool(const std::vector<BSONObj>& batch)> callback) = 0; /** diff --git a/src/mongo/s/client/shard_remote.cpp b/src/mongo/s/client/shard_remote.cpp index 77250817f40..9087cb5d244 100644 --- a/src/mongo/s/client/shard_remote.cpp +++ b/src/mongo/s/client/shard_remote.cpp @@ -376,7 +376,7 @@ StatusWith<Shard::QueryResponse> ShardRemote::_exhaustiveFindOnConfig( BSONObjBuilder findCmdBuilder; { - FindCommand findCommand(nss); + FindCommandRequest findCommand(nss); findCommand.setFilter(query.getOwned()); findCommand.setSort(sort.getOwned()); findCommand.setReadConcern(readConcernObj.getOwned()); @@ -423,7 +423,7 @@ void ShardRemote::runFireAndForgetCommand(OperationContext* opCtx, Status ShardRemote::runAggregation( OperationContext* opCtx, - const AggregateCommand& aggRequest, + const AggregateCommandRequest& aggRequest, std::function<bool(const std::vector<BSONObj>& batch)> callback) { BSONObj readPrefMetadata; diff --git a/src/mongo/s/client/shard_remote.h b/src/mongo/s/client/shard_remote.h index 7cf83cb5a39..69a7c2233bf 100644 --- a/src/mongo/s/client/shard_remote.h +++ b/src/mongo/s/client/shard_remote.h @@ -86,7 +86,7 @@ public: const BSONObj& cmdObj) final; Status runAggregation(OperationContext* opCtx, - const AggregateCommand& aggRequest, + const AggregateCommandRequest& aggRequest, std::function<bool(const std::vector<BSONObj>& batch)> callback); private: |