diff options
author | Jiawei Yang <jiawei.yang@mongodb.com> | 2023-04-04 20:32:11 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-04-05 00:35:47 +0000 |
commit | 6b0141d1559164e212f66d9b62909b9d61df01c8 (patch) | |
tree | 6fcc974f40a8b29678b40ff900448bff8cca6ac4 /src/mongo/db/transaction | |
parent | 50acdda3c992e7bace5f0dd560fc94966a7aa870 (diff) | |
download | mongo-6b0141d1559164e212f66d9b62909b9d61df01c8.tar.gz |
SERVER-66587 rename isEnabledAndIgnoreFCV to isEnabledAndIgnoreFCVUnsafe
Diffstat (limited to 'src/mongo/db/transaction')
-rw-r--r-- | src/mongo/db/transaction/transaction_participant.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/transaction/transaction_participant.cpp b/src/mongo/db/transaction/transaction_participant.cpp index 18238f76a3a..3f11b4ae357 100644 --- a/src/mongo/db/transaction/transaction_participant.cpp +++ b/src/mongo/db/transaction/transaction_participant.cpp @@ -1084,8 +1084,9 @@ TransactionParticipant::Participant::onConflictingInternalTransactionCompletion( void TransactionParticipant::Participant::_setReadSnapshot(OperationContext* opCtx, repl::ReadConcernArgs readConcernArgs) { + // (Ignore FCV check): This feature flag doesn't have any upgrade/downgrade concerns. bool pitLookupFeatureEnabled = - feature_flags::gPointInTimeCatalogLookups.isEnabledAndIgnoreFCV(); + feature_flags::gPointInTimeCatalogLookups.isEnabledAndIgnoreFCVUnsafe(); if (readConcernArgs.getArgsAtClusterTime()) { // Read concern code should have already set the timestamp on the recovery unit. |