summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/index_catalog_impl.h
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2018-12-07 17:12:07 -0500
committerDavid Storch <david.storch@10gen.com>2018-12-10 10:52:38 -0500
commit35efc48897270a83097008f9343ae8c56a9e77cc (patch)
tree406883d218e510433424f8d3bff29e0ab28d97f3 /src/mongo/db/catalog/index_catalog_impl.h
parent7b1e64f12e855d979232ef7b185002d5c8103353 (diff)
downloadmongo-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.h2
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;