Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
Minor Change
-
Execution Team 2019-09-09
Description
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
Attachments
Issue Links
- related to
-
SERVER-34176 Decide on public name of WriteConflict error code
-
- Closed
-