Allow retrying some non-retryable writes in implicitly_retry_on_shard_transition_errors.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • Cluster Scalability 2024-11-11
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-95116 made it so that the override only retries writes if using retryable write. However, not all suites that use the override use retryable writes. If a write has a batch size of 1 and returned a retryable error, it should be safe to retry the write, so we'll unnecessarily fail some writes. We'll also allow retrying inserts with a batch larger than 1, and ignore the errors if all are duplicate key errors.

            Assignee:
            Janna Golden (Inactive)
            Reporter:
            Janna Golden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: