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

Add shardsvrRenameCollection that wraps the existing mongod renameCollection command

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2019-07-29

      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.

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

              Created:
              Updated:
              Resolved: