[SERVER-27664] Remove all usages of ShardConnection from commands_public.cpp Created: 12/Jan/17 Updated: 23/Mar/18 Resolved: 23/Mar/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 3.5.1 |
| Fix Version/s: | 3.7.4 |
| 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 | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Sharding 2017-01-02, Sharding 2017-02-13, Sharding 2017-03-06, Sharding 2017-03-27, Sharding 2018-03-26, Sharding 2018-04-09 | ||||||||
| Participants: | |||||||||
| Description |
|
With the ability of mongod to interpret the shardVersion command parameter we no longer need to use ShardConnection to set the shard version on the connection itself for commands. Because of this all usages of ShardConnection outside of parallel.cpp should be removed and replaced with calls to the task executor instead. The usage in parallel.cpp will go away with the removal of ParallelSortClusteredCursor. |
| Comments |
| Comment by Githook User [ 23/Mar/18 ] |
|
Author: {'email': 'kaloian.manassiev@mongodb.com', 'name': 'Kaloian Manassiev', 'username': 'kaloianm'}Message: Also gets rid of PublicGridCommand. |
| Comment by Githook User [ 09/Mar/18 ] |
|
Author: {'email': 'kaloian.manassiev@mongodb.com', 'name': 'Kaloian Manassiev', 'username': 'kaloianm'}Message: |
| Comment by Githook User [ 05/Mar/18 ] |
|
Author: {'email': 'kaloian.manassiev@mongodb.com', 'name': 'Kaloian Manassiev', 'username': 'kaloianm'}Message: This change replaces all usages of passthrough, which are used for |