Skip to content

Commit

Permalink
fix(NODE-3252): state transistion from DISCONNECTED (#2807)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken authored May 17, 2021
1 parent f916843 commit 5d8f649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/topologies/replset.js
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ var monitorServer = function(host, self, options) {
self.s.options.secondaryOnlyConnectionAllowed) ||
self.s.replicaSetState.hasPrimary())
) {
stateTransition(self, CONNECTED);
stateTransition(self, CONNECTING);

// Rexecute any stalled operation
rexecuteOperations(self);
Expand Down

0 comments on commit 5d8f649

Please sign in to comment.