diff options
Diffstat (limited to 'src/mongo/db/repl/read_concern_args.cpp')
-rw-r--r-- | src/mongo/db/repl/read_concern_args.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/repl/read_concern_args.cpp b/src/mongo/db/repl/read_concern_args.cpp index a95cf27880f..a02b5e9b67b 100644 --- a/src/mongo/db/repl/read_concern_args.cpp +++ b/src/mongo/db/repl/read_concern_args.cpp @@ -101,6 +101,10 @@ bool ReadConcernArgs::isSpecified() const { return _specified; } +bool ReadConcernArgs::isImplicitDefault() const { + return getProvenance().isImplicitDefault(); +} + ReadConcernLevel ReadConcernArgs::getLevel() const { return _level.value_or(ReadConcernLevel::kLocalReadConcern); } |