summaryrefslogtreecommitdiff
path: root/src/mongo/base
diff options
context:
space:
mode:
authorPavi Vetriselvan <pavithra.vetriselvan@mongodb.com>2020-11-17 15:35:15 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-19 16:40:05 +0000
commitd633efa72090a864442ef7232e1261d3b25bc27c (patch)
treeae59ded6b61efb30e74c284baf093a3e48f11604 /src/mongo/base
parentfd5f9c3fb195b78f59b7abcfc7a81318f9a5ee78 (diff)
downloadmongo-d633efa72090a864442ef7232e1261d3b25bc27c.tar.gz
SERVER-50414 Reads should return not primary error messages during rollback if client sent helloOk
Diffstat (limited to 'src/mongo/base')
-rw-r--r--src/mongo/base/error_codes.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/base/error_codes.yml b/src/mongo/base/error_codes.yml
index 4fd57f0525f..851011f43f6 100644
--- a/src/mongo/base/error_codes.yml
+++ b/src/mongo/base/error_codes.yml
@@ -4,7 +4,7 @@ error_categories:
- NetworkTimeoutError
- Interruption
# isNotPrimaryError() includes all codes that indicate that the node that received the request
- # was not master at some point during command processing,regardless of whether some write may
+ # was not primary at some point during command processing,regardless of whether some write may
# have happened. If you care about whether a write could have happened,check for individual
# codes.
- NotPrimaryError