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

Separate limits for retries and transaction retries

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • ALL
    • v8.0
    • 0

      SERVER-93477, PR allows yml files to configure the number of retries network_error_and_txn_override.js will perform before abandoning a transaction.

      However, the field overrideRetryAttempts is already used for non-transaction retries. In some tests, it is normal for the txn override to take a number of retries to succeed (e.g., after a stepdown). This may require a different number of retries to an non-transaction override variant.

      BF-34753 identified that some suites specify overrideRetryAttempts, at a value lower than the default txn override value, leading to failures.

      As such, a separate variable should be used for txn retries.

            Assignee:
            james.harrison@mongodb.com James Harrison
            Reporter:
            james.harrison@mongodb.com James Harrison
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: