diff options
author | Jack Mulrow <jack.mulrow@mongodb.com> | 2019-01-29 16:02:42 -0500 |
---|---|---|
committer | Jack Mulrow <jack.mulrow@mongodb.com> | 2019-02-08 09:52:12 -0500 |
commit | 315b7197505795f21fb62e69c122833def6cf75a (patch) | |
tree | 6ca8e78862d2bed2a2f386673810d18e89bfa09a /src/mongo/db/repl/read_concern_args.h | |
parent | b2ab47954087c481722607483cc9868a6cc713e8 (diff) | |
download | mongo-315b7197505795f21fb62e69c122833def6cf75a.tar.gz |
SERVER-39274 Mongos shouldn't upconvert txn read concern level to snapshot if none is provided
Diffstat (limited to 'src/mongo/db/repl/read_concern_args.h')
-rw-r--r-- | src/mongo/db/repl/read_concern_args.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/read_concern_args.h b/src/mongo/db/repl/read_concern_args.h index 5fbc69d52fb..e6ef8533863 100644 --- a/src/mongo/db/repl/read_concern_args.h +++ b/src/mongo/db/repl/read_concern_args.h @@ -135,7 +135,8 @@ public: void appendInfo(BSONObjBuilder* builder) const; /** - * Returns true if any of clusterTime, opTime or level arguments are set. + * Returns true if any of clusterTime, opTime or level arguments are set. Does not differentiate + * between an unspecified read concern and an empty one (i.e. an empty BSON object). */ bool isEmpty() const; |