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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.7
    • Affects Version/s: 4.1.5
    • Component/s: None
    • Fully Compatible
    • Sharding 2019-01-14
    • 7

      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",
      }
      

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: