-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
Sharding EMEA 2022-02-21, Sharding EMEA 2022-03-07
The BatchCommandResponse class uses its own custom parsing which makes it difficult to make changes or to inspect what is the format of the write commands. We should switch all places that currently use BatchCommandResponse to instead use the IDL-based parsers and generators instead.
As part of this ticket we should make the write errors not be a BSON object, but a proper IDL structure.
- causes
-
SERVER-64078 Missing ErrMsg for Multiple Bulk Write Errors
- Closed
- is depended on by
-
SERVER-63327 Remove usages of the StaleShardVersion error code from the migrations path
- Closed