-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Diagnostics, Storage
-
Minor Change
-
Execution Team 2019-09-09
A WriteConflict error message provides very little information to the user:
{ "ok": 0.0, "errmsg": "WriteConflict", "code": 112, "codeName": "WriteConflict", "operationTime": <time>, "$clusterTime": {}, }
It would be helpful to have a more detailed error message than just "WriteConflict". For example, we could change it to "Write conflict error: this operation conflicted with another operation, retry your multi-document transaction".
CC: pasette
- related to
-
SERVER-34176 Decide on public name of WriteConflict error code
- Closed