-
Type: New Feature
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.9.1
-
Component/s: Connectivity
-
None
The C# driver (and other drivers as well) do not currently support connecting to mongos'es deployed behind a load balancer, which is too bad, because deploying mongos'es behind a load balancer has many appealing operational benefits (e.g. the ease of adding/removing mongos instances without changes to the application connection string).
This configuration causes a problem for the drivers, as currently implemented, because for queries that return large result sets the OP_GETMORE messages used to retrieve the next batch are sent on a different connection than the original OP_QUERY. Because the connections are through a load balancer, the OP_GETMORE messages almost invariably end up at the wrong mongos.
- is related to
-
CSHARP-536 DNS round-robin support
- Closed
-
CSHARP-1004 Auto-discovery of mongos routers
- Closed