summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/haystack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/haystack.cpp')
-rw-r--r--src/mongo/db/commands/haystack.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/commands/haystack.cpp b/src/mongo/db/commands/haystack.cpp
index 93d3df3ff65..2346e048772 100644
--- a/src/mongo/db/commands/haystack.cpp
+++ b/src/mongo/db/commands/haystack.cpp
@@ -85,6 +85,10 @@ public:
return ReadConcernSupportResult::allSupportedAndDefaultPermitted();
}
+ bool shouldAffectReadConcernCounter() const override {
+ return true;
+ }
+
ReadWriteType getReadWriteType() const {
return ReadWriteType::kRead;
}