diff options
author | Jennifer Peshansky <jennifer.peshansky@mongodb.com> | 2022-11-03 16:13:20 +0000 |
---|---|---|
committer | Jennifer Peshansky <jennifer.peshansky@mongodb.com> | 2022-11-03 16:13:20 +0000 |
commit | e74d2910bbe76790ad131d53fee277829cd95982 (patch) | |
tree | cabe148764529c9623652374fbc36323a550cd44 /src/mongo/db/s/collection_sharding_runtime.h | |
parent | 280145e9940729480bb8a35453d4056afac87641 (diff) | |
parent | ba467f46cc1bc49965e1d72b541eff0cf1d7b22e (diff) | |
download | mongo-jenniferpeshansky/SERVER-70854.tar.gz |
Merge branch 'master' into jenniferpeshansky/SERVER-70854jenniferpeshansky/SERVER-70854
Diffstat (limited to 'src/mongo/db/s/collection_sharding_runtime.h')
-rw-r--r-- | src/mongo/db/s/collection_sharding_runtime.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/s/collection_sharding_runtime.h b/src/mongo/db/s/collection_sharding_runtime.h index 44e46d0bc4a..786425d8e92 100644 --- a/src/mongo/db/s/collection_sharding_runtime.h +++ b/src/mongo/db/s/collection_sharding_runtime.h @@ -229,7 +229,7 @@ public: /** * Gets an index version under a lock. */ - boost::optional<Timestamp> getIndexVersion(OperationContext* opCtx); + boost::optional<CollectionIndexes> getCollectionIndexes(OperationContext* opCtx); /** * Gets the index list under a lock. @@ -241,17 +241,17 @@ public: */ void addIndex(OperationContext* opCtx, const IndexCatalogType& index, - const Timestamp& indexVersion); + const CollectionIndexes& collectionIndexes); /** * Removes an index from the shard-role index info under a lock. */ void removeIndex(OperationContext* opCtx, const std::string& name, - const Timestamp& indexVersion); + const CollectionIndexes& collectionIndexes); /** - * Clears the shard-role index info and set the indexVersion to boost::none. + * Clears the shard-role index info and set the collectionIndexes to boost::none. */ void clearIndexes(OperationContext* opCtx); |