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

Remove all usages of ShardConnection from commands_public.cpp

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.7.4
    • 3.5.1
    • 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

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: