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

txn_override.js doesn't bump the txnNumber in the log message if it has to retry the transaction multiple times in a row

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Sharding 2018-12-17

      Description

      There is a recursive call in retryEntireTransaction in txn_override.js. If we have to retry the transaction there, we pass the old txnNumber, so the log message has the incorrect txnNumber. This can be confusing when debugging because it seems like the txnNumber is never progressing, even though it says the transaction is being retried.

      Here is an example from a recent BF.

        Attachments

          Activity

            People

            Assignee:
            janna.golden Janna Golden
            Reporter:
            samy.lanka Samyukta Lanka
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: