Make config server writes resilient to stepdowns in create_system_session.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0, 9.0.0-rc4
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v9.0
    • CAR Team 2026-08-03
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This test has two issues causing it to not fully delete the documents it is attempting to delete. The first is that it isn't checking the command response of the deletes meaning that a delete which doesn't throw but also doesn't delete anything due to a write error will just silently move on. The second is that it doesn't use the same pattern as many of our other sharding tests which is to enable retryable writes for writes to the config database. This allows writes to be retried in the face of a config server stepdown.

            Assignee:
            Allison Easton
            Reporter:
            Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: