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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Component/s: Transactions
    • None

      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
              Reporter:
              Shane Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: