summaryrefslogtreecommitdiff
path: root/src/mongo/db/index_builds_coordinator_mongod.cpp
diff options
context:
space:
mode:
authorHaley Connelly <haley.connelly@mongodb.com>2020-06-16 16:14:07 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-06-29 19:18:43 +0000
commit639610456840a2c0d5c140b82fbad0d796734a92 (patch)
tree30a3800caaf3ec204104f2b9d97fbced74c83fde /src/mongo/db/index_builds_coordinator_mongod.cpp
parent29fe8825ba79dc289694787169a3793fa6556bce (diff)
downloadmongo-639610456840a2c0d5c140b82fbad0d796734a92.tar.gz
SERVER-47532 ShardServerProcessInterface: Convert usage of getCollectionDescription_DEPRECATED to getCollectionDescription
Diffstat (limited to 'src/mongo/db/index_builds_coordinator_mongod.cpp')
-rw-r--r--src/mongo/db/index_builds_coordinator_mongod.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index_builds_coordinator_mongod.cpp b/src/mongo/db/index_builds_coordinator_mongod.cpp
index f028d2e2dc2..2a2fd13169e 100644
--- a/src/mongo/db/index_builds_coordinator_mongod.cpp
+++ b/src/mongo/db/index_builds_coordinator_mongod.cpp
@@ -199,7 +199,7 @@ IndexBuildsCoordinatorMongod::startIndexBuild(OperationContext* opCtx,
const auto nss = CollectionCatalog::get(opCtx).resolveNamespaceStringOrUUID(opCtx, nssOrUuid);
- const auto& oss = OperationShardingState::get(opCtx);
+ auto& oss = OperationShardingState::get(opCtx);
const auto shardVersion = oss.getShardVersion(nss);
const auto dbVersion = oss.getDbVersion(dbName);