Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2673

Add the "TransientTransactionError" label when server selection fails during a transaction

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Currently, the Go driver doesn't add the TransientTransactionError label to server selection errors that happen during a transaction, despite the transactions spec requiring it. That is currently complex to implement, but may be significantly simpler after GODRIVER-2579 is done.

      Original comment from divjot.arora@mongodb.com:
      Hey team, per the transactions spec, server selection errors should be marked with the TransientTransactionError label:

      Any command error that includes the "TransientTransactionError" error label in the "errorLabels" field. Any network error or server selection error encountered running any command besides commitTransaction in a transaction. In the case of command errors, the server adds the label; in the case of network errors or server selection errors where the client receives no server reply, the client adds the label.

            Assignee:
            Unassigned Unassigned
            Reporter:
            matt.dale@mongodb.com Matt Dale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: