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

Add more basic tests for moveChunk

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.2.0-rc0
    • Fix Version/s: 3.2.1, 3.3.0
    • Component/s: Sharding
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Completed:
    • Sprint:
      Sharding C (11/20/15), Sharding D (12/11/15), Sharding E (01/08/16)

      Description

      • 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

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: