diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2019-05-20 19:14:54 -0400 |
---|---|---|
committer | Charlie Swanson <charlie.swanson@mongodb.com> | 2019-05-22 16:38:40 -0400 |
commit | 7ac68bb3418650654599b6ffb768daf4bacc979d (patch) | |
tree | d5c225e46bc468f59950219ffb7df840fa98e945 /src/mongo/db/pipeline/stage_constraints.h | |
parent | 5594eeb9c42f5a28ebb20c8fcce87a2a1a01f6a5 (diff) | |
download | mongo-7ac68bb3418650654599b6ffb768daf4bacc979d.tar.gz |
SERVER-41249 Fix special cases for $out to include $merge
Diffstat (limited to 'src/mongo/db/pipeline/stage_constraints.h')
-rw-r--r-- | src/mongo/db/pipeline/stage_constraints.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/stage_constraints.h b/src/mongo/db/pipeline/stage_constraints.h index b5edef5ef5e..da6133f11da 100644 --- a/src/mongo/db/pipeline/stage_constraints.h +++ b/src/mongo/db/pipeline/stage_constraints.h @@ -193,8 +193,8 @@ struct StageConstraints { // Stages which write data to user collections should not be permitted with readConcern // level "snapshot" or inside of a multi-document transaction. - // TODO (SERVER-36259): relax this requirement when $out (which writes persistent data) - // is allowed in a transaction. + // TODO (SERVER-36259): relax this requirement when $out and/or $merge (which write + // persistent data) is allowed in a transaction. if (diskRequirement == DiskUseRequirement::kWritesPersistentData) { invariant(!isAllowedInTransaction()); } |