Treat ErrorCodes.ShardingStateNotInitialized as a transient error in metadata consistency checker

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • Repl 2026-07-20, Repl 2026-08-03
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In suites where we are killing and restarting the primary, we may see this error if we are talking to a newly restarted node. We should retry rather than treating it as a failure in the suite. 

            Assignee:
            Indy Prentice
            Reporter:
            Indy Prentice
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: