[SERVER-7052] MongoS open one connection each primary per incoming connection Created: 17/Sep/12  Updated: 17/Sep/12  Resolved: 17/Sep/12

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 2.0.6
Fix Version/s: None

Type: Bug Priority: Critical - P2
Reporter: Grégoire Seux Assignee: Greg Studer
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

All.


Operating System: ALL
Participants:

 Description   

Created after a discussion on the mailing list : https://groups.google.com/forum/?fromgroups=#!topic/mongodb-user/qkiQmLDRuBA

For each incoming connection, mongoSs create a connection to each shard primary (and one to a secondary is using appropriate flag).

This is really blocking for scalability since each primary will have as much as all incoming connection to the cluster.

Usage of these connection really internal stuff and should (and could easily) be pooled.
Of course it reveals also that a primary is required for any kind of request.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 17/Sep/12 ]

See SERVER-6402

Note, this does not mean that the primary is required for each op.

Generated at Thu Feb 08 03:13:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.