|
Moving this ticket to the Backlog and removing the "Backlog" fixVersion as per our latest policy for using fixVersions.
|
|
This only affects the shell as the server doesn't supply a code field at all:
> db.a.runCommand({insert:"test.a", documents:{a:1}})
|
{ "note" : "from execCommand", "ok" : 0, "errmsg" : "not master" }
|
|
|
It is not required and lots of errors that come back to the client don't have a code. Consider the code preferred but optional.
Def. don't see this a bug, but maybe an improvement if anything.
|
|
The errmsg is proper, but there is a code with a value of "undefined". Are there other errors that exhibit this result? Is the code field deprecated?
|
|
Can you be a bit more clear on "what is the bug"? The error message is clear, consistent, and included in the "writeError".
|
Generated at Thu Feb 08 03:36:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.