summaryrefslogtreecommitdiff
path: root/src/mongo/s/query/async_results_merger.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/query/async_results_merger.h')
-rw-r--r--src/mongo/s/query/async_results_merger.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mongo/s/query/async_results_merger.h b/src/mongo/s/query/async_results_merger.h
index 04262309a99..c6ec2a26052 100644
--- a/src/mongo/s/query/async_results_merger.h
+++ b/src/mongo/s/query/async_results_merger.h
@@ -202,7 +202,9 @@ private:
* reported from the remote.
*/
struct RemoteCursorData {
- RemoteCursorData(HostAndPort hostAndPort, CursorId establishedCursorId);
+ RemoteCursorData(HostAndPort hostAndPort,
+ NamespaceString cursorNss,
+ CursorId establishedCursorId);
/**
* Returns the resolved host and port on which the remote cursor resides.
@@ -230,6 +232,10 @@ private:
// member will be set to zero.
CursorId cursorId;
+ // The namespace this cursor belongs to - note this may be different than the namespace of
+ // the operation if there is a view.
+ NamespaceString cursorNss;
+
// The exact host in the shard on which the cursor resides.
HostAndPort shardHostAndPort;