diff options
author | Samy Lanka <samy.lanka@mongodb.com> | 2021-05-12 04:05:56 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-05-20 21:14:11 +0000 |
commit | 7f901206919def001d0128a2907601a1ff2143b7 (patch) | |
tree | fb383e4fae1cd1fe7d973125d31c8cec1a8fb4b8 /src/mongo/db/commands.cpp | |
parent | fe0042206cc3ea6a0792a956a876d5793a1c67c2 (diff) | |
download | mongo-7f901206919def001d0128a2907601a1ff2143b7.tar.gz |
SERVER-56488 Change the default read concern to always be local
Diffstat (limited to 'src/mongo/db/commands.cpp')
-rw-r--r-- | src/mongo/db/commands.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/commands.cpp b/src/mongo/db/commands.cpp index 9501937342c..7f7c5f39155 100644 --- a/src/mongo/db/commands.cpp +++ b/src/mongo/db/commands.cpp @@ -880,8 +880,9 @@ private: return _command->supportsWriteConcern(cmdObj()); } - ReadConcernSupportResult supportsReadConcern(repl::ReadConcernLevel level) const override { - return _command->supportsReadConcern(cmdObj(), level); + ReadConcernSupportResult supportsReadConcern(repl::ReadConcernLevel level, + bool isImplicitDefault) const override { + return _command->supportsReadConcern(cmdObj(), level, isImplicitDefault); } bool supportsReadMirroring() const override { |