Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-38215

consider making txn_override.js also retry transaction after getting a TransientTransactionError errorLabel

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.1.5
    • Fix Version/s: 4.1.7
    • Component/s: None
    • Labels:

      Description

      Currently, it only appears to retry only when commitTransactions returns that errorLabel or when it is already in the middle of "retrying". Here's an example of such a response:

      {
        "errorLabels" : [
          "TransientTransactionError"
        ],
        "operationTime" : Timestamp(1542746459, 1),
        "ok" : 0,
        "errmsg" : "Unable to acquire lock '{5511606377568395677: Database, 899920359141007773}' within a max lock request timeout of '5ms' milliseconds.",
        "code" : 24,
        "codeName" : "LockTimeout",
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: