diff options
author | Ted Tuckman <ted.tuckman@mongodb.com> | 2021-07-23 11:04:57 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-07-23 11:44:52 +0000 |
commit | 0f554217d6476d804f9ed1051722447fec017fb4 (patch) | |
tree | fab076e3e2794370067dbc74f610deaa17236a30 /src/mongo/s | |
parent | 186c59cdf182e3d26c3443e6e2a0a17197aa8602 (diff) | |
download | mongo-0f554217d6476d804f9ed1051722447fec017fb4.tar.gz |
SERVER-58581 Add SEARCH_META variable
Diffstat (limited to 'src/mongo/s')
-rw-r--r-- | src/mongo/s/query/cluster_find.cpp | 1 | ||||
-rw-r--r-- | src/mongo/s/query/establish_cursors.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/s/query/cluster_find.cpp b/src/mongo/s/query/cluster_find.cpp index c6173e6e58b..7ed9694090c 100644 --- a/src/mongo/s/query/cluster_find.cpp +++ b/src/mongo/s/query/cluster_find.cpp @@ -885,6 +885,7 @@ StatusWith<CursorResponse> ClusterFind::runGetMore(OperationContext* opCtx, startingFrom, postBatchResumeToken, boost::none, + boost::none, partialResultsReturned); } diff --git a/src/mongo/s/query/establish_cursors.cpp b/src/mongo/s/query/establish_cursors.cpp index 4c44a93b2c9..3ac04e4da84 100644 --- a/src/mongo/s/query/establish_cursors.cpp +++ b/src/mongo/s/query/establish_cursors.cpp @@ -248,7 +248,7 @@ void CursorEstablisher::_handleFailure(const AsyncRequestsSender::Response& resp // This exception is eligible to be swallowed. Add an entry with a cursorID of 0, an // empty HostAndPort, and which has the 'partialResultsReturned' flag set to true. _remoteCursors.push_back( - {response.shardId.toString(), {}, {_nss, CursorId{0}, {}, {}, {}, {}, {}, true}}); + {response.shardId.toString(), {}, {_nss, CursorId{0}, {}, {}, {}, {}, {}, {}, true}}); return; } |