StartTransaction doesn't throw an exception when connected to Standalone nodes

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 2.11.0
    • Affects Version/s: 2.8.1
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The driver does not throw an exception on StartTransaction when connecting to a Standalone or Unknown node. This is connected to CSHARP-2561 where the check was introduced.

      However, the check misses these two scenarios. This results in an exception being thrown at a later stage when transaction operations are being executed. 

      Note 2020-04-20: It is not necessary to check for Unknown because in that case the server is also disconnected and we filter out disconnected servers before checking server type.

            Assignee:
            Robert Stam
            Reporter:
            Tomasz Masternak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: