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

Add more basic tests for shardCollection

    • 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
    • Fully Compatible
    • Sharding C (11/20/15), Sharding D (12/11/15), Sharding E (01/08/16)

      • Error if colllection already sharded
      • Error if key not specified
      • Error if key is not in right format (for example, { x: "nothash" }

        )

      • Error if db is not sharding enabled
      • New config.collections entry with the right ns should be created

            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: