diff options
author | Pavi Vetriselvan <pavithra.vetriselvan@mongodb.com> | 2020-11-23 15:57:41 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-11-30 18:08:17 +0000 |
commit | 222aa7e39525152bf91543be3c642e202e0a220e (patch) | |
tree | 57274fd58456e44c18ee18e93a2fdff1fa4064b1 /src/mongo/db/commands/get_last_error.cpp | |
parent | 1e9bf762c1db532564323f4c6d8316d2c2fce286 (diff) | |
download | mongo-222aa7e39525152bf91543be3c642e202e0a220e.tar.gz |
SERVER-50667 replace comment/variable references to slave with secondary
Diffstat (limited to 'src/mongo/db/commands/get_last_error.cpp')
-rw-r--r-- | src/mongo/db/commands/get_last_error.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/get_last_error.cpp b/src/mongo/db/commands/get_last_error.cpp index d2b45e78498..19d9a8ce6e6 100644 --- a/src/mongo/db/commands/get_last_error.cpp +++ b/src/mongo/db/commands/get_last_error.cpp @@ -304,7 +304,7 @@ public: if (wcResult.wTimedOut) { dassert(!wcResult.err.empty()); // so we always report err dassert(!status.isOK()); - result.append("errmsg", "timed out waiting for slaves"); + result.append("errmsg", "timed out waiting for secondaries"); result.append("code", status.code()); result.append("codeName", ErrorCodes::errorString(status.code())); return true; |