Retry on NotPrimaryError in implicitly_retry_on_config_stepdowns.js override

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0, 8.3.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.3
    • CAR Team 2026-04-27
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The implicitly_retry_on_config_stepdowns.js override (added in SERVER-116060) only retries FailedToSatisfyReadPreference errors, but config server stepdowns also produce PrimarySteppedDown, InterruptedDueToReplStateChange, NotWritablePrimary, and other NotPrimaryError category errors.

      This caused create_system_session.js to fail when a delete on config.collections got PrimarySteppedDown and was not retried. 

            Assignee:
            Meryama Nadim
            Reporter:
            Meryama Nadim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: