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

StartTransaction should throw an exception if transactions are not supported

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.1
    • Affects Version/s: 2.8.0
    • Component/s: Transactions
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: