diff options
author | Judah Schvimer <judah@mongodb.com> | 2016-04-12 19:11:23 -0400 |
---|---|---|
committer | Judah Schvimer <judah@mongodb.com> | 2016-04-12 19:11:23 -0400 |
commit | 7ed530a55304bd9cc2b80c054f379b10d9cea8e2 (patch) | |
tree | ff1dac44961da031f3369f0288fb38a347d0d690 /src/mongo/s/commands/cluster_current_op.cpp | |
parent | b0c0acc6767a74ed2e5aa50361ad4474291951f9 (diff) | |
download | mongo-7ed530a55304bd9cc2b80c054f379b10d9cea8e2.tar.gz |
SERVER-20224 commands that write support writeConcern
Diffstat (limited to 'src/mongo/s/commands/cluster_current_op.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_current_op.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/s/commands/cluster_current_op.cpp b/src/mongo/s/commands/cluster_current_op.cpp index 6b35d491b11..d75f881c7c7 100644 --- a/src/mongo/s/commands/cluster_current_op.cpp +++ b/src/mongo/s/commands/cluster_current_op.cpp @@ -71,6 +71,10 @@ public: return isAuthorized ? Status::OK() : Status(ErrorCodes::Unauthorized, "Unauthorized"); } + virtual bool supportsWriteConcern(const BSONObj& cmd) const override { + return false; + } + void aggregateResults(const std::vector<ShardAndReply>& results, BSONObjBuilder& output) final { // Each shard responds with a document containing an array of subdocuments. // Each subdocument represents an operation running on that shard. |