Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
-
Fully Compatible
-
v4.0, v3.6
-
TIG 2018-07-02
-
46
-
2
Description
replSetReconfig is not safe to retry when there's an AutoReconnect error. If it succeeded before the network was disconnected, it will likely fail the retry.
I believe it is safe to retry the whole else-clause starting with replSetGetConfig
In this case, if the previous reconfig succeeded, the "if" at line 1457 will prevent attempting to reconfig again.