diff options
Diffstat (limited to 'src/mongo/s/catalog_cache_loader.cpp')
-rw-r--r-- | src/mongo/s/catalog_cache_loader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/s/catalog_cache_loader.cpp b/src/mongo/s/catalog_cache_loader.cpp index 5f2ee8cbcdc..9dd53b47f53 100644 --- a/src/mongo/s/catalog_cache_loader.cpp +++ b/src/mongo/s/catalog_cache_loader.cpp @@ -48,6 +48,7 @@ CatalogCacheLoader::CollectionAndChangedChunks::CollectionAndChangedChunks( const BSONObj& collDefaultCollation, bool collShardKeyIsUnique, boost::optional<TypeCollectionReshardingFields> collReshardingFields, + bool allowMigrations, std::vector<ChunkType> chunks) : epoch(std::move(collEpoch)), uuid(std::move(collUuid)), @@ -55,6 +56,7 @@ CatalogCacheLoader::CollectionAndChangedChunks::CollectionAndChangedChunks( defaultCollation(collDefaultCollation), shardKeyIsUnique(collShardKeyIsUnique), reshardingFields(std::move(collReshardingFields)), + allowMigrations(allowMigrations), changedChunks(std::move(chunks)) {} void CatalogCacheLoader::set(ServiceContext* serviceContext, |