summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec
diff options
context:
space:
mode:
authorTommaso Tocci <tommaso.tocci@mongodb.com>2020-04-12 14:39:17 +0200
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-04-15 08:18:47 +0000
commit6f1c334300c28a1e7491440759fe83a289b9e1bc (patch)
treea54a86beda86596a5212371a974b3542b5762589 /src/mongo/db/exec
parent2736a860cc1f6f89beda3d07659496044bcac471 (diff)
downloadmongo-6f1c334300c28a1e7491440759fe83a289b9e1bc.tar.gz
SERVER-47523 Upsert stage: Convert usage of getCollectionDescription_DEPRECATED to getCollectionDescription
Diffstat (limited to 'src/mongo/db/exec')
-rw-r--r--src/mongo/db/exec/upsert_stage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/upsert_stage.cpp b/src/mongo/db/exec/upsert_stage.cpp
index a0e983d92b4..3f735981b18 100644
--- a/src/mongo/db/exec/upsert_stage.cpp
+++ b/src/mongo/db/exec/upsert_stage.cpp
@@ -195,7 +195,7 @@ BSONObj UpsertStage::_produceNewDocumentForInsert(bool isInternalRequest) {
// The collection description must remain in scope since it owns the pointers used by
// 'shardKeyPaths' and 'immutablePaths'.
auto* css = CollectionShardingState::get(opCtx(), _params.request->getNamespaceString());
- auto collDesc = css->getCollectionDescription_DEPRECATED();
+ auto collDesc = css->getCollectionDescription();
// Compute the set of shard key paths and the set of immutable paths. Either may be empty.
FieldRefSet shardKeyPaths, immutablePaths;