-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication, Sharding
-
Replication
-
Sharding 16 (06/24/16), Repl 2016-11-21
Currently the getWriteConcernStatusFromCommandResult function returns a Status, but that loses some information includes in a write concern response, such as the 'errInfo' field.
We should make WriteConcernErrorDetail easier to construct and parse from BSON, then use it anywhere we deal with write concern error responses (such as in Shard::CommandResponse)