Enforce retryWrite during collection creations in transition_to_dedicated_config_server.js

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2026-03-02
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The current testing setup for transition_to_dedicated_config_server.js creates one sharded collection and one unsharded collection with the config server being the DB primary. However, during a config server stepdown, insertions on the unsharded collection could trigger a writeConcernError due to InterruptedDueToReplStateChange.

      As part of this ticket, we should enforce retryWrite: true so that the operation is retried in the case of a stepdown.

            Assignee:
            Anna Maria Nestorov
            Reporter:
            Anna Maria Nestorov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: