Skip to content

Commit 186263f

Browse files
committed
fix(mongos): force close servers during reconnect flow
1 parent 1b1ccab commit 186263f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/core/topologies/mongos.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ function reconnectProxies(self, proxies, callback) {
612612
})
613613
);
614614

615-
destroyServer(_server);
615+
destroyServer(_server, { force: true });
616616
removeProxyFrom(self.disconnectedProxies, _server);
617617

618618
// Relay the server description change

0 commit comments

Comments
 (0)