-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Networking
-
Server Programmability
-
ALL
-
Service Arch 2022-10-31, Service Arch 2022-11-14, Service Arch 2022-11-28
When a command fails, or duplicate status/ok/errmsg/code/etc is attempted to be appended to "result" (bsonobjbuilder) the current "result" should be copied to a field (like "$oldStateBeforeFinalError") and "result" should contain the correct error information.
This will allow the error/status command code to always report the correct error/state to the client.
- related to
-
SERVER-20612 Error when appendCommandResult can't set "ok" field
- Backlog