Add shardsvrRenameCollection that wraps the existing mongod renameCollection command

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: