diff options
Diffstat (limited to 'src/mongo/db/pipeline/lite_parsed_pipeline.h')
-rw-r--r-- | src/mongo/db/pipeline/lite_parsed_pipeline.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/lite_parsed_pipeline.h b/src/mongo/db/pipeline/lite_parsed_pipeline.h index 0a7f24b83a5..eecaaa937e1 100644 --- a/src/mongo/db/pipeline/lite_parsed_pipeline.h +++ b/src/mongo/db/pipeline/lite_parsed_pipeline.h @@ -136,6 +136,13 @@ public: bool enableMajorityReadConcern) const; /** + * Checks that all of the stages in this pipeline are allowed to run with the specified read + * concern level. Does not do any pipeline global checks. + */ + ReadConcernSupportResult sourcesSupportReadConcern(repl::ReadConcernLevel level, + bool isImplicitDefault) const; + + /** * Verifies that this pipeline is allowed to run in a multi-document transaction. This ensures * that each stage is compatible, and throws a UserException if not. This should only be called * if the caller has determined the current operation is part of a transaction. |