[SERVER-18464] Move per-shard connection management to Shard Created: 13/May/15 Updated: 11/Nov/15 Resolved: 17/Jun/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking, Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.5 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Kaloian Manassiev |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Sharding 3 05/15/15, Sharding 4 06/05/15, Sharding 5 06/26/16 |
| Participants: |
| Description |
|
With the RemoteCommandTargeter being under Shard, it is prudent to also move the connection pooling to be per-shard as well. This also means that different entities within mongos should not cache references to Shard, but use identifiers and look up shards from the shard registry. |
| Comments |
| Comment by Githook User [ 17/Jun/15 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: Currently there is a discrepancy between the ownership of the targeter This change moves the ownership of targeter to the Shard object itself. |
| Comment by Githook User [ 11/Jun/15 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: The ReplicaSetMonitorManager will be responsible for the lifetime of This change brings us closer to having a separate instance of the replica |
| Comment by Githook User [ 10/Jun/15 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: Now that shard is no longer copyable these tests and code are no longer |
| Comment by Githook User [ 14/May/15 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: Change the Authorization Manager's read code to obtain connection using |