-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.4.0, 3.6.0, 4.0.0
-
Component/s: Replication
-
None
-
Replication
-
(copied to CRM)
Currently MongoDB can listen/bind on multiple IPs, but replicasets can only be connected to by either one hostname, fqdn or ip which makes replicasets not highly available without the use of 3rd party software.
There are solutions, such as using round-robin DNS, but they require logic on the application side to handle when the mongodb client cannot connect to an IP that was already resolved to a non-working network IP address, upwards to 50% of the time in a dual-network setup where one network is unavailable. Other solutions have their own issues as well.
Having a replicaset able to accept connections from multiple network IP addresses would resolve the need for 3rd party software and alleviate the need for an application to be re-written.
- is duplicated by
-
SERVER-70786 Is there any solution adding multiple IP to replicaSet member for host name on MongoDB?
- Closed
- is related to
-
SERVER-70786 Is there any solution adding multiple IP to replicaSet member for host name on MongoDB?
- Closed
- related to
-
SERVER-1889 Support different networks / nics for client & replication traffic
- Closed
-
NODE-1711 使用K8S透過Stateful創建MongoDB的連線問題
- Closed