summaryrefslogtreecommitdiff
path: root/src/mongo/db/update
diff options
context:
space:
mode:
authorIan Boros <ian.boros@mongodb.com>2020-09-23 13:07:49 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-09-23 18:16:33 +0000
commit68285b66fa9cceb99601d0249acef5728292c0b7 (patch)
treeb648d57ba94205887b00d7cc5621900bb8ce1e2c /src/mongo/db/update
parentfbcda84ec973644a995127bc23d0d94392f3cbb1 (diff)
downloadmongo-68285b66fa9cceb99601d0249acef5728292c0b7.tar.gz
SERVER-51009 Fix comment
Diffstat (limited to 'src/mongo/db/update')
-rw-r--r--src/mongo/db/update/update_driver.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/update/update_driver.cpp b/src/mongo/db/update/update_driver.cpp
index 9ae28c62374..da4c6159dca 100644
--- a/src/mongo/db/update/update_driver.cpp
+++ b/src/mongo/db/update/update_driver.cpp
@@ -271,6 +271,7 @@ Status UpdateDriver::update(OperationContext* opCtx,
// Updates may be run as part of the startup sequence, before the global FCV state has been
// initialized. We conservatively do not permit the use of $v:2 oplog entries in these
// situations.
+
// TODO SERVER-51075: Remove FCV check for $v:2 delta oplog entries.
const bool fcvAllowsV2Entries = fcvState.isVersionInitialized() &&
fcvState.isGreaterThanOrEqualTo(