We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ac4655 commit a134651Copy full SHA for a134651
spec/spec_tests/data/sdam/errors/prefer-error-code.yml
@@ -29,15 +29,15 @@ phases:
29
logicalSessionTimeoutMinutes: null
30
setName: rs
31
32
-- description: errmsg "not writable primary" gets ignored when error code exists
+- description: errmsg "not master" gets ignored when error code exists
33
applicationErrors:
34
- address: a:27017
35
when: afterHandshakeCompletes
36
maxWireVersion: 9
37
type: command
38
response:
39
ok: 0
40
- errmsg: "not writable primary"
+ errmsg: "not master" # NOTE: This needs to be "not master" and not "not writable primary".
41
code: 1 # Not a "not writable primary" error code.
42
outcome: *outcome
43
0 commit comments