diff options
Diffstat (limited to 'src/mongo/db/commands/haystack.cpp')
-rw-r--r-- | src/mongo/db/commands/haystack.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/commands/haystack.cpp b/src/mongo/db/commands/haystack.cpp index 3b00077fe60..5f74b7279a5 100644 --- a/src/mongo/db/commands/haystack.cpp +++ b/src/mongo/db/commands/haystack.cpp @@ -78,6 +78,10 @@ public: return true; } + bool maintenanceOk() const override { + return false; + } + bool supportsNonLocalReadConcern(const std::string& dbName, const BSONObj& cmdObj) const final { return true; } |