diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2020-11-03 14:08:19 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-11-11 14:52:36 +0000 |
commit | 7950f071b21957be1ab8e5ac2db8b650695a2bd0 (patch) | |
tree | c18442fd863b1d955d8194a2ddf6759201182e08 /src/mongo/s/catalog_cache_loader.cpp | |
parent | b43f6fefe1ac3e941fd55d5452a1ee21e7ff0ae6 (diff) | |
download | mongo-7950f071b21957be1ab8e5ac2db8b650695a2bd0.tar.gz |
SERVER-50027 Implement an 'allowMigrations' collection property
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, |