|
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.
- 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.
|