Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1841

Unknown tx commit result label not added to server selection exceptions

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Spec Comp
    • Labels:
      None

      https://github.com/mongodb/specifications/blob/master/source/transactions/transactions.rst#unknowntransactioncommitresult says:

      > The driver MUST add the "UnknownTransactionCommitResult" error label when commitTransaction fails with a server selection error, network error, retryable writes error, MaxTimeMSExpired error, or write concern failed / timeout.

      As far as I can tell this label is not added to our server selection errors.

      As part of this work the MaxTimeMSExpired case should be considered (it may be covered by a separate ticket & spec tests).

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: