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

Allow retrying some non-retryable writes in implicitly_retry_on_shard_transition_errors.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Janna Golden
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: