From 6c755905c31ac284d88077500ebba021d20b3626 Mon Sep 17 00:00:00 2001 From: Kevin Albertson Date: Thu, 23 Jun 2016 11:49:38 -0400 Subject: SERVER-5905 Add operation latency histogram --- src/mongo/db/geo/haystack.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mongo/db/geo') diff --git a/src/mongo/db/geo/haystack.cpp b/src/mongo/db/geo/haystack.cpp index 6e736ca91ea..e4010b2ff1d 100644 --- a/src/mongo/db/geo/haystack.cpp +++ b/src/mongo/db/geo/haystack.cpp @@ -65,16 +65,23 @@ public: virtual bool supportsWriteConcern(const BSONObj& cmd) const override { return false; } + bool slaveOk() const { return true; } + bool slaveOverrideOk() const { return true; } + bool supportsReadConcern() const final { return true; } + ReadWriteType getReadWriteType() const { + return ReadWriteType::kRead; + } + std::size_t reserveBytesForReply() const override { return FindCommon::kInitReplyBufferSize; } -- cgit v1.2.1