From 186263faa673cd1947823d7ad9af35efaa989f13 Mon Sep 17 00:00:00 2001 From: Matt Broadstone Date: Fri, 11 Oct 2019 15:33:07 -0400 Subject: [PATCH] fix(mongos): force close servers during reconnect flow --- lib/core/topologies/mongos.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/topologies/mongos.js b/lib/core/topologies/mongos.js index 957580c2aa..681b01fd70 100644 --- a/lib/core/topologies/mongos.js +++ b/lib/core/topologies/mongos.js @@ -612,7 +612,7 @@ function reconnectProxies(self, proxies, callback) { }) ); - destroyServer(_server); + destroyServer(_server, { force: true }); removeProxyFrom(self.disconnectedProxies, _server); // Relay the server description change