summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/sharding_state_command.cpp
diff options
context:
space:
mode:
authorJudah Schvimer <judah@mongodb.com>2016-04-12 19:11:23 -0400
committerJudah Schvimer <judah@mongodb.com>2016-04-12 19:11:23 -0400
commit7ed530a55304bd9cc2b80c054f379b10d9cea8e2 (patch)
treeff1dac44961da031f3369f0288fb38a347d0d690 /src/mongo/db/s/sharding_state_command.cpp
parentb0c0acc6767a74ed2e5aa50361ad4474291951f9 (diff)
downloadmongo-7ed530a55304bd9cc2b80c054f379b10d9cea8e2.tar.gz
SERVER-20224 commands that write support writeConcern
Diffstat (limited to 'src/mongo/db/s/sharding_state_command.cpp')
-rw-r--r--src/mongo/db/s/sharding_state_command.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/s/sharding_state_command.cpp b/src/mongo/db/s/sharding_state_command.cpp
index cbf54e69281..672bb581ba7 100644
--- a/src/mongo/db/s/sharding_state_command.cpp
+++ b/src/mongo/db/s/sharding_state_command.cpp
@@ -47,6 +47,10 @@ class ShardingStateCmd : public Command {
public:
ShardingStateCmd() : Command("shardingState") {}
+ virtual bool supportsWriteConcern(const BSONObj& cmd) const override {
+ return false;
+ }
+
bool slaveOk() const override {
return false;
}