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

Allow moveChunk command for unsharded collections

    XMLWordPrintableJSON

Details

    • Sharding
    • Sharding 2018-11-19

    Description

      Enable the moveChunk command for chunks of non sharded collections.

      Steps:
      1. Set the UUID in the collection entry in config.collections when creating the collection and inserting into config.collections.

      Testing:
      1. Test moveChunk on a non-sharded collection and pass the dummy shard key {_id : 1} as key to "find" in the moveChunk parameters.

      1. Do this for both an empty and non-emtpy colleciton.
        2. Test moveChunk on a non-empty non-sharded collection and pass the [min, max] as the bounds to the moveChunk command.

      Attachments

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            misha.tyulenev@mongodb.com Misha Tyulenev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: