summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/lite_parsed_document_source.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/lite_parsed_document_source.h')
-rw-r--r--src/mongo/db/pipeline/lite_parsed_document_source.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/lite_parsed_document_source.h b/src/mongo/db/pipeline/lite_parsed_document_source.h
index ecc56c170ab..f5fc5fbcb06 100644
--- a/src/mongo/db/pipeline/lite_parsed_document_source.h
+++ b/src/mongo/db/pipeline/lite_parsed_document_source.h
@@ -295,6 +295,13 @@ public:
return _pipelines;
}
+ /**
+ * Check the read concern constraints of all sub-pipelines. If the stage that owns the
+ * sub-pipelines has its own constraints this should be overridden to take those into account.
+ */
+ ReadConcernSupportResult supportsReadConcern(repl::ReadConcernLevel level,
+ bool isImplicitDefault) const override;
+
protected:
boost::optional<NamespaceString> _foreignNss;
std::vector<LiteParsedPipeline> _pipelines;