diff options
author | Billy Donahue <BillyDonahue@users.noreply.github.com> | 2023-02-11 18:56:34 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-02-11 20:23:39 +0000 |
commit | bc153c1bb266d8613d7a125cf17e57fa99123a8b (patch) | |
tree | a2abacf829935b2f25f0b2f73e9ae77e4e88f06e | |
parent | ca07672b037d0a8ad517dbfa3e75020c3d6076ae (diff) | |
download | mongo-bc153c1bb266d8613d7a125cf17e57fa99123a8b.tar.gz |
SERVER-73891 rewrite_state_change_errors Doc fix
-rw-r--r-- | src/mongo/rpc/rewrite_state_change_errors.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/rpc/rewrite_state_change_errors.h b/src/mongo/rpc/rewrite_state_change_errors.h index c295855848e..c9aea2af4f4 100644 --- a/src/mongo/rpc/rewrite_state_change_errors.h +++ b/src/mongo/rpc/rewrite_state_change_errors.h @@ -85,10 +85,10 @@ public: * This will happen with failpoint-induced errors or with "hello" commands, * both of which are exempt from state change error rewriting. * - * - doc contains no error nodes that need rewriting. - * - NotPrimaryError codes always need rewriting. - * - ShutdownError codes need rewriting unless this server is - * shutting down. + * - `doc` contains error nodes that need rewriting. + * - Codes in the `NotPrimaryError` category always need rewriting. + * - Codes in the `ShutdownError` category need rewriting unless this + * server is shutting down. * * Any rewritten `code` is replaced by `HostUnreachable`, and associated * `codeName` replaced to be consistent with the new code. Additionally, the |