Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2561

StartTransaction should throw an exception if transactions are not supported

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 2.8.1
    • 2.8.0
    • Transactions
    • None

    Description

      As per DRIVERS-624 if StartTransaction is called and the current topology and/or server version does not support transactions an exception must be thrown.

      Note that StartTransaction cannot block, but that should be OK because the application must call client.StartSession before calling session.StartTransaction, and StartSession does block until the necessary cluster information is available.

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: