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

Add more basic tests for shardCollection

    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

      • 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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: