Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2084

Transaction spec should say MUST when adding TransientTransactionError

    • Type: Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: Transactions
    • Labels:
      None
    • Needed

      The TransientTransactionError section in the transactions spec says:

      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.

      The tests already assert that the driver adds the label to network errors. We should update the spec to use stronger language and say that drivers MUST label these errors.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: