From 890051d8166e668442aff70cfcde3cb71ae6115f Mon Sep 17 00:00:00 2001 From: Kaloian Manassiev Date: Tue, 19 Dec 2017 19:34:42 -0500 Subject: SERVER-28992 Cleanup and remove unused code from write commands No functional changes, just getting rid of some unnecessary overhead. * Get rid of the extra TargetedBatchSizeMap during write command processing * Do not use pointers in the write commands error tracking * Remove unused code from the commands parsing --- src/mongo/s/write_ops/batched_command_response.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/mongo/s/write_ops/batched_command_response.h') diff --git a/src/mongo/s/write_ops/batched_command_response.h b/src/mongo/s/write_ops/batched_command_response.h index 49579da74a1..844dde4daa3 100644 --- a/src/mongo/s/write_ops/batched_command_response.h +++ b/src/mongo/s/write_ops/batched_command_response.h @@ -68,9 +68,6 @@ public: BatchedCommandResponse(BatchedCommandResponse&&) = default; BatchedCommandResponse& operator=(BatchedCommandResponse&&) = default; - /** Copies all the fields present in 'this' to 'other'. */ - void cloneTo(BatchedCommandResponse* other) const; - bool isValid(std::string* errMsg) const; BSONObj toBSON() const; bool parseBSON(const BSONObj& source, std::string* errMsg); -- cgit v1.2.1