summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_find_cmd.h
diff options
context:
space:
mode:
authorjannaerin <golden.janna@gmail.com>2022-10-21 19:54:27 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-10-21 20:51:28 +0000
commit7ce351c5e56d6a33a08a3c336463ab2c8ec2ce21 (patch)
tree9e31b8031f7b7460fef3464c808560a551c6b065 /src/mongo/s/commands/cluster_find_cmd.h
parent496b24a6e2a1a488501e2eaeefac8af39670e173 (diff)
downloadmongo-7ce351c5e56d6a33a08a3c336463ab2c8ec2ce21.tar.gz
SERVER-69721 Serialize and deserialize namespace in cursor reply objects correctly in multitenant environment
Diffstat (limited to 'src/mongo/s/commands/cluster_find_cmd.h')
-rw-r--r--src/mongo/s/commands/cluster_find_cmd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_find_cmd.h b/src/mongo/s/commands/cluster_find_cmd.h
index 2da149ac60d..4349e3558a1 100644
--- a/src/mongo/s/commands/cluster_find_cmd.h
+++ b/src/mongo/s/commands/cluster_find_cmd.h
@@ -244,7 +244,7 @@ public:
firstBatch.append(obj);
}
firstBatch.setPartialResultsReturned(partialResultsReturned);
- firstBatch.done(cursorId, cq->ns());
+ firstBatch.done(cursorId, cq->nss());
} catch (const ExceptionFor<ErrorCodes::CommandOnShardedViewNotSupportedOnMongod>& ex) {
result->reset();