mongos will not retry configsvrShardCollection when it gets a not master error calling listIndexes

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 4.1.1
    • Component/s: Sharding
    • None
    • Sharding
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      This is because configsvrShardCollection uses ScopedDBConnection to send the listIndexes command. When it gets a NotMaster error, it will convert it into it's own error code here. And this makes the error "non-retryable" since the custom error code is not in the list of retryable errors.

            Assignee:
            [DO NOT USE] Backlog - Sharding Team
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: