diff options
Diffstat (limited to 'src/mongo/db/s/shard_local.cpp')
-rw-r--r-- | src/mongo/db/s/shard_local.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/s/shard_local.cpp b/src/mongo/db/s/shard_local.cpp index 873b628ad65..506e21ffbf4 100644 --- a/src/mongo/db/s/shard_local.cpp +++ b/src/mongo/db/s/shard_local.cpp @@ -167,6 +167,7 @@ Status ShardLocal::createIndexOnConfig(OperationContext* opCtx, auto removeIndexBuildsToo = false; auto indexSpecs = indexCatalog->removeExistingIndexes( opCtx, + CollectionPtr(collection, CollectionPtr::NoYieldTag{}), uassertStatusOK( collection->addCollationDefaultsToIndexSpecsForCreate(opCtx, {index.toBSON()})), removeIndexBuildsToo); |