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

remove FCV check for transactions in session.cpp

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.1
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • Repl 2018-07-02

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

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

              Created:
              Updated:
              Resolved: