diff options
author | Allison Easton <allison.easton@mongodb.com> | 2022-11-23 16:06:22 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-11-23 16:33:06 +0000 |
commit | d5209179dc52ac6411f8fcacb1b9405fe617d8a5 (patch) | |
tree | 917f8b89998e77aefecc7946a42db149f3e0a741 /src/mongo/db/s/collection_sharding_runtime.h | |
parent | 9114c3335f84c500eb767d06b7960eeff2802a56 (diff) | |
download | mongo-d5209179dc52ac6411f8fcacb1b9405fe617d8a5.tar.gz |
SERVER-70382 Replace boost::none index versions with the actual index version from the catalog cache or CSR
Diffstat (limited to 'src/mongo/db/s/collection_sharding_runtime.h')
-rw-r--r-- | src/mongo/db/s/collection_sharding_runtime.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/s/collection_sharding_runtime.h b/src/mongo/db/s/collection_sharding_runtime.h index cac64e74c5c..c3c089d3db7 100644 --- a/src/mongo/db/s/collection_sharding_runtime.h +++ b/src/mongo/db/s/collection_sharding_runtime.h @@ -40,6 +40,8 @@ namespace mongo { enum class CSRAcquisitionMode { kShared, kExclusive }; +typedef std::pair<CollectionMetadata, boost::optional<GlobalIndexesCache>> + CollectionPlacementAndIndexInfo; /** * See the comments for CollectionShardingState for more information on how this class fits in the |