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

StartTransaction should throw an exception if transactions are not supported

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.8.1
    • Component/s: Transactions
    • Labels:
      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

          Issue Links

            Activity

              People

              Assignee:
              rstam Robert Stam
              Reporter:
              rstam Robert Stam
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: