Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-624

Ensure 4.0 drivers return an error when attempting sharded transactions on 4.2

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: Transactions
    • Labels:
      None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      PYTHON-1781 Fixed 3.8
      JAVA-3240 Fixed 3.10.2
      CSHARP-2561 Fixed 2.8.1
      CDRIVER-3067 Fixed 1.14.1
      PERL-1086 Works as Designed
      RUBY-1791 Fixed 2.20.0
      SCALA-515 Done
      MOTOR-329 Won't Fix
      PHPC-1359 Fixed 1.5.4
      NODE-1931 Fixed 3.3.0
      CXX-1760 Done
      GODRIVER-943 Won't Do
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion PYTHON-1781 Fixed 3.8 JAVA-3240 Fixed 3.10.2 CSHARP-2561 Fixed 2.8.1 CDRIVER-3067 Fixed 1.14.1 PERL-1086 Works as Designed RUBY-1791 Fixed 2.20.0 SCALA-515 Done MOTOR-329 Won't Fix PHPC-1359 Fixed 1.5.4 NODE-1931 Fixed 3.3.0 CXX-1760 Done GODRIVER-943 Won't Do

      The 4.0 transaction spec says:

      startTransaction SHOULD report an error if the driver can detect that transactions are not supported by the deployment. A deployment does not support transactions when the deployment does not support sessions, or maxWireVersion < 7, or the topology type is Sharded

      https://github.com/mongodb/specifications/blob/cf7248b2574b1a5397a6e18362acfe66f2b55a43/source/transactions/transactions.rst#starttransaction

      Please verify whether your MongoDB 4.0-supporting driver release raises a client side error in this case.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: