diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2019-02-26 00:57:52 -0500 |
---|---|---|
committer | Esha Maharishi <esha.maharishi@mongodb.com> | 2019-03-01 10:04:01 -0500 |
commit | e5ee880b03e4be83a56004d9e9d43852a6960eec (patch) | |
tree | c28e2ca85a53c8103ae1ec23e72647257d5a16ae /src/mongo/s/query/store_possible_cursor.cpp | |
parent | adf8b17dd18bd0332a935e27eace73fc825982a3 (diff) | |
download | mongo-e5ee880b03e4be83a56004d9e9d43852a6960eec.tar.gz |
SERVER-39866 Make cluster aggregate use MultiStatementTransactionRequestsSender rather than using ShardRemote and manually calling attachTxnFields
Diffstat (limited to 'src/mongo/s/query/store_possible_cursor.cpp')
-rw-r--r-- | src/mongo/s/query/store_possible_cursor.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mongo/s/query/store_possible_cursor.cpp b/src/mongo/s/query/store_possible_cursor.cpp index 6897959e0e1..e2edf321a4e 100644 --- a/src/mongo/s/query/store_possible_cursor.cpp +++ b/src/mongo/s/query/store_possible_cursor.cpp @@ -70,25 +70,6 @@ StatusWith<BSONObj> storePossibleCursor(OperationContext* opCtx, } StatusWith<BSONObj> storePossibleCursor(OperationContext* opCtx, - const NamespaceString& requestedNss, - const ShardId& shardId, - const Shard::CommandResponse& commandResponse, - PrivilegeVector privileges, - TailableModeEnum tailableMode) { - invariant(commandResponse.hostAndPort); - auto executorPool = Grid::get(opCtx)->getExecutorPool(); - return storePossibleCursor(opCtx, - shardId, - *commandResponse.hostAndPort, - commandResponse.response, - requestedNss, - executorPool->getArbitraryExecutor(), - Grid::get(opCtx)->getCursorManager(), - std::move(privileges), - tailableMode); -} - -StatusWith<BSONObj> storePossibleCursor(OperationContext* opCtx, const ShardId& shardId, const HostAndPort& server, const BSONObj& cmdResult, |