Skip to content

Commit 5d8f649

Browse files
authored
fix(NODE-3252): state transistion from DISCONNECTED (#2807)
1 parent f916843 commit 5d8f649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/core/topologies/replset.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ var monitorServer = function(host, self, options) {
558558
self.s.options.secondaryOnlyConnectionAllowed) ||
559559
self.s.replicaSetState.hasPrimary())
560560
) {
561-
stateTransition(self, CONNECTED);
561+
stateTransition(self, CONNECTING);
562562

563563
// Rexecute any stalled operation
564564
rexecuteOperations(self);

0 commit comments

Comments
 (0)