diff options
author | Moustafa Maher Khalil <m.maher@mongodb.com> | 2023-04-26 19:41:50 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-04-26 21:06:53 +0000 |
commit | 269961220e0a5b954a2e0d878c82bd58068030ae (patch) | |
tree | 339f5498a26af40fa213d61d38505b1fbadba7cc /src/mongo/dbtests | |
parent | 518f3df1276fa9c396b1384554e69dd96e633b6c (diff) | |
download | mongo-269961220e0a5b954a2e0d878c82bd58068030ae.tar.gz |
SERVER-54150 Recovery from a stable checkpoint should fassert on oplog application failures
Diffstat (limited to 'src/mongo/dbtests')
-rw-r--r-- | src/mongo/dbtests/repltests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/dbtests/repltests.cpp b/src/mongo/dbtests/repltests.cpp index 11680dc1997..c05af813d64 100644 --- a/src/mongo/dbtests/repltests.cpp +++ b/src/mongo/dbtests/repltests.cpp @@ -392,12 +392,12 @@ protected: virtual void reset() const = 0; }; -// Some operations are only idempotent when in RECOVERING, not in SECONDARY. This includes -// duplicate inserts and deletes. +// Some operations are only idempotent when in RECOVERING from unstable checkpoint, not in +// SECONDARY. This includes duplicate inserts and deletes. class Recovering : public Base { protected: virtual OplogApplication::Mode getOplogApplicationMode() { - return OplogApplication::Mode::kRecovering; + return OplogApplication::Mode::kUnstableRecovering; } }; |