Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-35562

remove FCV check for transactions in session.cpp

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.1
    • None
    • Replication
    • None
    • Fully Compatible
    • Repl 2018-07-02

    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));
      

      Attachments

        Activity

          People

            william.schultz@mongodb.com William Schultz (Inactive)
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: