diff options
author | Lingzhi Deng <lingzhi.deng@mongodb.com> | 2020-04-28 21:20:45 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-04-29 23:05:43 +0000 |
commit | f674117136f9b2699ab42a32f6f08f6c0b5a84b3 (patch) | |
tree | 35bb9b210eafa2aff85568cd245100b3a8d4e245 /src/mongo/db/commands/count_cmd.cpp | |
parent | f950ce6ca8e360becb502a09b7f371b2f2c807da (diff) | |
download | mongo-f674117136f9b2699ab42a32f6f08f6c0b5a84b3.tar.gz |
SERVER-47577: readConcernCounters metric in serverStatus
Diffstat (limited to 'src/mongo/db/commands/count_cmd.cpp')
-rw-r--r-- | src/mongo/db/commands/count_cmd.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/commands/count_cmd.cpp b/src/mongo/db/commands/count_cmd.cpp index 3063da6955b..aab21671ba9 100644 --- a/src/mongo/db/commands/count_cmd.cpp +++ b/src/mongo/db/commands/count_cmd.cpp @@ -94,6 +94,10 @@ public: return ReadConcernSupportResult::allSupportedAndDefaultPermitted(); } + bool shouldAffectReadConcernCounter() const override { + return true; + } + bool supportsReadMirroring(const BSONObj&) const override { return true; } |