-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Replication
I see two places where replsettest.js has code to handle closed connections during stepdown, these are obsolete.
this.reInitiate=function() { varconfig=this.getReplSetConfigFromNode(); varnewConfig=this.getReplSetConfig(); // Only reset members. config.members=newConfig.members; config.version+=1; this._setDefaultConfigOptions(config); assert.adminCommandWorkedAllowingNetworkError(this.getPrimary(), {replSetReconfig:config}); };
And:
retryOnNetworkError(function() { // The primary may unexpectedly step down during startup if under heavy load // and too slowly processing heartbeats. When it steps down, it closes all of // its connections. _constructFromExistingSeedNode(opts); }, 60);
- depends on
-
SERVER-38755 Stop closing connections on stepdown gated by server parameter "closeConnectionsOnStepdown" flag.
- Closed