diff options
Diffstat (limited to 'src/mongo/db/index_builds_coordinator.cpp')
-rw-r--r-- | src/mongo/db/index_builds_coordinator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/index_builds_coordinator.cpp b/src/mongo/db/index_builds_coordinator.cpp index 493eecd9aa6..0eaa5962d85 100644 --- a/src/mongo/db/index_builds_coordinator.cpp +++ b/src/mongo/db/index_builds_coordinator.cpp @@ -353,8 +353,8 @@ StatusWith<std::pair<long long, long long>> IndexBuildsCoordinator::startIndexRe auto descriptor = indexCatalog->findIndexByName(opCtx, indexNames[i], false); if (!descriptor) { // If it's unfinished index, drop it directly via removeIndex. - Status status = - DurableCatalog::get(opCtx)->removeIndex(opCtx, nss, indexNames[i]); + Status status = DurableCatalog::get(opCtx)->removeIndex( + opCtx, collection->getCatalogId(), indexNames[i]); continue; } Status s = indexCatalog->dropIndex(opCtx, descriptor); |