StartTransaction should throw an exception if transactions are not supported

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.8.1
    • Affects Version/s: 2.8.0
    • Component/s: Transactions
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Stam
              Reporter:
              Robert Stam
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: