diff options
Diffstat (limited to 'src/mongo/s/catalog_cache_loader.h')
-rw-r--r-- | src/mongo/s/catalog_cache_loader.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/s/catalog_cache_loader.h b/src/mongo/s/catalog_cache_loader.h index 763f238e52f..af282c4d24e 100644 --- a/src/mongo/s/catalog_cache_loader.h +++ b/src/mongo/s/catalog_cache_loader.h @@ -72,6 +72,7 @@ public: const BSONObj& collDefaultCollation, bool collShardKeyIsUnique, boost::optional<TypeCollectionReshardingFields> collReshardingFields, + bool allowMigrations, std::vector<ChunkType> chunks); // Information about the entire collection @@ -80,12 +81,14 @@ public: // except under the default constructor BSONObj shardKeyPattern; BSONObj defaultCollation; - bool shardKeyIsUnique{false}; + bool shardKeyIsUnique; // If the collection is currently undergoing a resharding operation, the optional will be // populated. boost::optional<TypeCollectionReshardingFields> reshardingFields; + bool allowMigrations; + // The chunks which have changed sorted by their chunkVersion. This list might potentially // contain all the chunks in the collection. std::vector<ChunkType> changedChunks; |