diff options
author | Benety Goh <benety@mongodb.com> | 2020-08-11 10:14:22 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-08-11 14:40:32 +0000 |
commit | bc2128c87dca30c758b87cc7bfcdfd6ab04e8e8d (patch) | |
tree | 97c296e99272cc494d61540ef7e954e23889d884 /src/mongo/db/index_builds_coordinator.cpp | |
parent | cf8949deb58129f7d01084ef6f01c495a70da94c (diff) | |
download | mongo-bc2128c87dca30c758b87cc7bfcdfd6ab04e8e8d.tar.gz |
SERVER-50028 remove unnecessary collection catalog lookup from IndexBuildsManager::startBuildingIndexForRecovery()
Diffstat (limited to 'src/mongo/db/index_builds_coordinator.cpp')
-rw-r--r-- | src/mongo/db/index_builds_coordinator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index_builds_coordinator.cpp b/src/mongo/db/index_builds_coordinator.cpp index 3f2bdd7f2b9..1d4ab20c6ec 100644 --- a/src/mongo/db/index_builds_coordinator.cpp +++ b/src/mongo/db/index_builds_coordinator.cpp @@ -2698,7 +2698,7 @@ StatusWith<std::pair<long long, long long>> IndexBuildsCoordinator::_runIndexReb std::tie(numRecords, dataSize) = uassertStatusOK(_indexBuildsManager.startBuildingIndexForRecovery( - opCtx, collection->ns(), buildUUID, repair)); + opCtx, collection, buildUUID, repair)); // Since we are holding an exclusive collection lock to stop new writes, do not yield locks // while draining. |