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

Remove unsetSharding call from dropCollection

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 4.3.3
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2019-12-16

    Description

      The unsetSharding command removes a connection's associated shardVersions.

      As part of dropCollection, the config server sends unsetSharding to all shards over the TaskExecutor/NetworkInterface networking stack, but all commands run through the TaskExecutor that need versioning information attach that information to the command being run directly, rather than setting it on the connection via the setShardVersion command. So, this unsetSharding command is a no-op, and can be removed.

      Attachments

        Activity

          People

            haley.connelly@mongodb.com Haley Connelly
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: