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

Add shardsvrRenameCollection that wraps the existing mongod renameCollection command

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.1
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2019-07-29

    Description

      We’ll need to define a _shardsvrRenameCollection request type which we can define in the new rename_collection idl file created as a part of SERVER-42120. We’ll also need to create the new command and should define it in a new file shardsvr_rename_collection.cpp. This command should just call the existing renameCollection command. The new configsvrRenameCollection should call this new command. _shardsvrShardCollection is a good example of the pattern we want to follow.

      Attachments

        Activity

          People

            jason.zhang@mongodb.com Jason Zhang
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: