summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_destination_manager_legacy_commands.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
commit889ca31c1a1e7725b14f291233a4ee4f7afea111 (patch)
tree13ed8e193df51b16f107323b7f764ad598cd333f /src/mongo/db/s/migration_destination_manager_legacy_commands.cpp
parent8b2e8b846799db19cb51f626b8c9802f2d4fcabc (diff)
downloadmongo-889ca31c1a1e7725b14f291233a4ee4f7afea111.tar.gz
SERVER-22540 Commands that do writes on mongos should take a writeConcern and aggregate results
Diffstat (limited to 'src/mongo/db/s/migration_destination_manager_legacy_commands.cpp')
-rw-r--r--src/mongo/db/s/migration_destination_manager_legacy_commands.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/s/migration_destination_manager_legacy_commands.cpp b/src/mongo/db/s/migration_destination_manager_legacy_commands.cpp
index 3fdc0b7bcb3..1d1e5fa40c1 100644
--- a/src/mongo/db/s/migration_destination_manager_legacy_commands.cpp
+++ b/src/mongo/db/s/migration_destination_manager_legacy_commands.cpp
@@ -72,7 +72,6 @@ public:
return true;
}
-
virtual bool supportsWriteConcern(const BSONObj& cmd) const override {
// This is required to be true to support moveChunk.
return true;
@@ -200,7 +199,6 @@ public:
return true;
}
-
virtual bool supportsWriteConcern(const BSONObj& cmd) const override {
return false;
}