diff options
author | Maria van Keulen <maria@mongodb.com> | 2020-04-22 14:03:49 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-04-27 20:13:41 +0000 |
commit | 147beeb42b443c016615d6b101e0cd54b4d618bc (patch) | |
tree | 927c19cd6d43310296006f856dea3382e9ae7326 /src/mongo/dbtests | |
parent | a30cef00b9e3ccfe60a4dce7f9f2c7cbaf1e68b7 (diff) | |
download | mongo-147beeb42b443c016615d6b101e0cd54b4d618bc.tar.gz |
SERVER-46714 Only perform EMRC=false shutdown handling when EMRC=false
Diffstat (limited to 'src/mongo/dbtests')
-rw-r--r-- | src/mongo/dbtests/storage_timestamp_tests.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/dbtests/storage_timestamp_tests.cpp b/src/mongo/dbtests/storage_timestamp_tests.cpp index dfd3acf0ac9..d0f6a97f760 100644 --- a/src/mongo/dbtests/storage_timestamp_tests.cpp +++ b/src/mongo/dbtests/storage_timestamp_tests.cpp @@ -1820,6 +1820,9 @@ public: // dropDatabase must not timestamp the final write. The collection and index should seem // to have never existed. assertIdentsMissingAtTimestamp(durableCatalog, collIdent, indexIdent, syncTime); + + // Reset initial data timestamp to avoid unintended storage engine timestamp side effects. + storageEngine->setInitialDataTimestamp(Timestamp(0, 0)); } }; |