-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.0.1
-
Component/s: Core
-
None
-
Empty show more show less
See Linked issue. User is running a setup with 4 docker instances:
3 Docker DBs:
- Host 1 member of Replicaset
- Runs a js script that
- Hosts an express server with meta info
- Attempts multiple rapid connections, reads, and writes
1 Docker Client: - Runs script that:
- pings each express server on DB for results
- aggregates results into metadata
It appears that the bug is as follows: when a member node is partitioned from the network, the script running on that node loses its connection to the replicaset, as expected. However, when the node rejoins the network, the `MongoClient.prototype.connect` promise never settles, neither resolving or rejecting.
The express server continues to operate.
- duplicates
-
NODE-1363 Unable to establish a connection to a MongoDB cluster after a connection between Primary and its peers was disrupted and then fixed
- Closed