diff options
author | Lingzhi Deng <lingzhi.deng@mongodb.com> | 2020-07-27 16:47:57 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-08-02 05:39:29 +0000 |
commit | 475078ffd9b65803238a1df57e4e28f8b1bdf5ca (patch) | |
tree | abb2b05d0427d36351aeebf9b4a4bfb3f285573f /src/mongo/db/update | |
parent | de36e2cbc7e7f38a4d2b1d017666277478ba1c7b (diff) | |
download | mongo-475078ffd9b65803238a1df57e4e28f8b1bdf5ca.tar.gz |
SERVER-49783: Update latest FCV to 4.7
Diffstat (limited to 'src/mongo/db/update')
-rw-r--r-- | src/mongo/db/update/update_driver.cpp | 2 | ||||
-rw-r--r-- | src/mongo/db/update/update_oplog_entry_version.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/update/update_driver.cpp b/src/mongo/db/update/update_driver.cpp index c66512526a8..e0cf8dafb4c 100644 --- a/src/mongo/db/update/update_driver.cpp +++ b/src/mongo/db/update/update_driver.cpp @@ -274,7 +274,7 @@ Status UpdateDriver::update(OperationContext* opCtx, if (_logOp && logOpRec) { const auto& fcv = serverGlobalParams.featureCompatibility; const bool fcvAllowsV2Entries = fcv.isVersionInitialized() && - fcv.getVersion() == ServerGlobalParams::FeatureCompatibility::Version::kVersion451; + fcv.getVersion() == ServerGlobalParams::FeatureCompatibility::Version::kVersion47; applyParams.logMode = fcvAllowsV2Entries && internalQueryEnableLoggingV2OplogEntries.load() ? ApplyParams::LogMode::kGenerateOplogEntry diff --git a/src/mongo/db/update/update_oplog_entry_version.h b/src/mongo/db/update/update_oplog_entry_version.h index 8ae9ec069fd..5338ddcc76e 100644 --- a/src/mongo/db/update/update_oplog_entry_version.h +++ b/src/mongo/db/update/update_oplog_entry_version.h @@ -50,7 +50,7 @@ enum class UpdateOplogEntryVersion { // arrayFilters and $[] syntax. kUpdateNodeV1 = 1, - // Delta style update, introduced in 4.6. When a pipeline based update is executed, the pre and + // Delta style update, introduced in 4.7. When a pipeline based update is executed, the pre and // post images are diffed, producing a delta. The delta is recorded in the oplog. On // secondaries, the delta is applied to the pre-image to recover the post image. // |