[SERVER-35562] remove FCV check for transactions in session.cpp Created: 12/Jun/18  Updated: 29/Oct/23  Resolved: 18/Jun/18

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.1.1

Type: Improvement Priority: Major - P3
Reporter: Pavithra Vetriselvan Assignee: William Schultz (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-35118 Enumerate and remove Replication-rela... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2018-07-02
Participants:

 Description   

As a part of SERVER-35118 we will need to remove the following code and the corresponding test for the upgrade/downgrade project.

This will essentially revert SERVER-33240.

        // Check for FCV 4.0. The presence of an autocommit field distiguishes this as a
        // multi-statement transaction vs a retryable write.
        uassert(
            50773,
            str::stream() << "Transactions are only supported in featureCompatibilityVersion 4.0. "
                          << "See "
                          << feature_compatibility_version_documentation::kCompatibilityLink
                          << " for more information.",
            (serverGlobalParams.featureCompatibility.isVersionInitialized() &&
             serverGlobalParams.featureCompatibility.getVersion() ==
                 ServerGlobalParams::FeatureCompatibility::Version::kFullyUpgradedTo40));



 Comments   
Comment by Githook User [ 18/Jun/18 ]

Author:

{'username': 'will62794', 'name': 'William Schultz', 'email': 'william.schultz@mongodb.com'}

Message: SERVER-35562 Remove FCV check for transactions support in 4.0
Branch: master
https://github.com/mongodb/mongo/commit/4b544f9059f28ab19fb211ef1f768b24aae5264c

Generated at Thu Feb 08 04:40:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.