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

Add more basic tests for moveChunk

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.1, 3.3.0
    • Affects Version/s: 3.2.0-rc0
    • Component/s: Sharding
    • Labels:
    • Fully Compatible
    • Sharding C (11/20/15), Sharding D (12/11/15), Sharding E (01/08/16)

      • Cannot moveChunk on unsharded collections
      • Cannot moveChunk on unsharded collections (with no config.db entry)
      • Returns an error for inavlid namespace
      • Errors if to shard does not exists
      • Errors if chunk is already at shard
      • Errors if find is not a valid shard key
      • Errors if either bounds is not a valid shard key
      • Using find on collections with hash shard keys should not crash
      • moveChunk with find on compound shard key

            Assignee:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: