diff options
Diffstat (limited to 'src/mongo/db/geo/haystack.cpp')
-rw-r--r-- | src/mongo/db/geo/haystack.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/geo/haystack.cpp b/src/mongo/db/geo/haystack.cpp index 4c294aba9e9..789d21c8436 100644 --- a/src/mongo/db/geo/haystack.cpp +++ b/src/mongo/db/geo/haystack.cpp @@ -70,6 +70,9 @@ public: bool slaveOverrideOk() const { return true; } + bool supportsReadMajority() const final { + return true; + } virtual void addRequiredPrivileges(const std::string& dbname, const BSONObj& cmdObj, |