diff options
author | David Storch <david.storch@10gen.com> | 2018-12-07 17:12:07 -0500 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2018-12-10 10:52:38 -0500 |
commit | 35efc48897270a83097008f9343ae8c56a9e77cc (patch) | |
tree | 406883d218e510433424f8d3bff29e0ab28d97f3 /src/mongo/db/catalog/index_catalog_impl.h | |
parent | 7b1e64f12e855d979232ef7b185002d5c8103353 (diff) | |
download | mongo-35efc48897270a83097008f9343ae8c56a9e77cc.tar.gz |
SERVER-37449 Add RequiresAllIndicesStage and use for subplanning and multiplanning.
These stages hold the collection's list of indices during
plan selection, and expect all indices in this list to
remain valid until plan selection completes.
Diffstat (limited to 'src/mongo/db/catalog/index_catalog_impl.h')
-rw-r--r-- | src/mongo/db/catalog/index_catalog_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/index_catalog_impl.h b/src/mongo/db/catalog/index_catalog_impl.h index 121bcf69bc5..ead5634dbbb 100644 --- a/src/mongo/db/catalog/index_catalog_impl.h +++ b/src/mongo/db/catalog/index_catalog_impl.h @@ -166,6 +166,8 @@ public: std::shared_ptr<const IndexCatalogEntry> getEntryShared(const IndexDescriptor*) const override; + std::vector<std::shared_ptr<const IndexCatalogEntry>> getAllReadyEntriesShared() const override; + IndexAccessMethod* getIndex(const IndexDescriptor* desc) override; const IndexAccessMethod* getIndex(const IndexDescriptor* desc) const override; |