summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands.h')
-rw-r--r--src/mongo/db/commands.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mongo/db/commands.h b/src/mongo/db/commands.h
index 049824576fe..48341c29335 100644
--- a/src/mongo/db/commands.h
+++ b/src/mongo/db/commands.h
@@ -460,11 +460,10 @@ public:
}
/**
- * Override and return true if the readConcernCounters and readPreferenceCounters in
- * serverStatus should be incremented on behalf of this command. This should be true for
- * read operations.
+ * Override and return true if the readConcernCounters in serverStatus should not be incremented
+ * on behalf of this command.
*/
- virtual bool shouldAffectReadOptionCounters() const {
+ virtual bool shouldAffectReadConcernCounter() const {
return false;
}