summaryrefslogtreecommitdiff
path: root/src/mongo/db/geo/haystack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/geo/haystack.cpp')
-rw-r--r--src/mongo/db/geo/haystack.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/geo/haystack.cpp b/src/mongo/db/geo/haystack.cpp
index 2027dc5dd8c..9fc3a2cccf8 100644
--- a/src/mongo/db/geo/haystack.cpp
+++ b/src/mongo/db/geo/haystack.cpp
@@ -62,6 +62,9 @@ class GeoHaystackSearchCommand : public Command {
public:
GeoHaystackSearchCommand() : Command("geoSearch") {}
+ virtual bool supportsWriteConcern(const BSONObj& cmd) const override {
+ return false;
+ }
bool slaveOk() const {
return true;
}