diff options
author | Haley Connelly <haley.connelly@mongodb.com> | 2020-06-16 16:14:07 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-06-29 19:18:43 +0000 |
commit | 639610456840a2c0d5c140b82fbad0d796734a92 (patch) | |
tree | 30a3800caaf3ec204104f2b9d97fbced74c83fde /src/mongo/db/index_builds_coordinator_mongod.cpp | |
parent | 29fe8825ba79dc289694787169a3793fa6556bce (diff) | |
download | mongo-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.cpp | 2 |
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); |