diff options
author | David Storch <david.storch@10gen.com> | 2018-02-28 18:08:21 -0500 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2018-03-09 17:20:42 -0500 |
commit | ed1e2b4d2a4987e3744484f9482fdc7a0e119e94 (patch) | |
tree | 8096db9198fb62cd62e2192a38b15faf3d5100a6 /src/mongo/db/pipeline/document_source_single_document_transformation.h | |
parent | b9e20190b647fea262a8f4e154bbf18d9934a3ba (diff) | |
download | mongo-ed1e2b4d2a4987e3744484f9482fdc7a0e119e94.tar.gz |
SERVER-33541 Add readConcern level 'snapshot' support for aggregation.
Diffstat (limited to 'src/mongo/db/pipeline/document_source_single_document_transformation.h')
-rw-r--r-- | src/mongo/db/pipeline/document_source_single_document_transformation.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/document_source_single_document_transformation.h b/src/mongo/db/pipeline/document_source_single_document_transformation.h index 22689123099..bffa484c46b 100644 --- a/src/mongo/db/pipeline/document_source_single_document_transformation.h +++ b/src/mongo/db/pipeline/document_source_single_document_transformation.h @@ -114,6 +114,9 @@ public: ? FacetRequirement::kNotAllowed : FacetRequirement::kAllowed), (getType() == TransformerInterface::TransformerType::kChangeStreamTransformation + ? TransactionRequirement::kNotAllowed + : TransactionRequirement::kAllowed), + (getType() == TransformerInterface::TransformerType::kChangeStreamTransformation ? ChangeStreamRequirement::kChangeStreamStage : ChangeStreamRequirement::kWhitelist)); |