-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 4.1.1
-
Component/s: Sharding
-
None
-
Sharding
-
ALL
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.
- duplicates
-
SERVER-30949 listCollections command through mongos should retry on NotMaster errors
- Closed