diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-02-23 12:57:10 -0500 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-02-24 17:01:04 -0500 |
commit | e7c8e17220ef32befa8673bd776ba381b1911496 (patch) | |
tree | 18ea08c73c12ba756a4a661a6a21dd4b97700971 /src/mongo/s/write_ops/batched_command_response.h | |
parent | cf58ea6426f3bfb5dfbc21700c1c46d32a0bbecc (diff) | |
download | mongo-e7c8e17220ef32befa8673bd776ba381b1911496.tar.gz |
SERVER-22783 Consolidate WriteConcernError parsing
This change consolidates the checking for writeConcernError section to
happen in the ShardRegistry instead of each command doing it separately.
This makes WriteConcernFailed to be an actual error code of the command.
Also cleans up the WCErrorDetail class by removing unnecessarly
functionality.
Diffstat (limited to 'src/mongo/s/write_ops/batched_command_response.h')
-rw-r--r-- | src/mongo/s/write_ops/batched_command_response.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/s/write_ops/batched_command_response.h b/src/mongo/s/write_ops/batched_command_response.h index bf2cb1c6f68..e59c2c3ea05 100644 --- a/src/mongo/s/write_ops/batched_command_response.h +++ b/src/mongo/s/write_ops/batched_command_response.h @@ -96,7 +96,6 @@ public: int getErrCode() const; void setErrMessage(StringData errMessage); - void unsetErrMessage(); bool isErrMessageSet() const; const std::string& getErrMessage() const; |