Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-27664

Remove all usages of ShardConnection from commands_public.cpp

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.4
    • Affects Version/s: 3.5.1
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2017-01-02, Sharding 2017-02-13, Sharding 2017-03-06, Sharding 2017-03-27, Sharding 2018-03-26, Sharding 2018-04-09

      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.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: