[SERVER-21134] Add more basic tests for shardCollection Created: 26/Oct/15  Updated: 16/Nov/16  Resolved: 10/Dec/15

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.2.0-rc0
Fix Version/s: 3.2.1, 3.3.0

Type: Improvement Priority: Major - P3
Reporter: Randolph Tan Assignee: Misha Tyulenev
Resolution: Done Votes: 0
Labels: test-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Backport Completed:
Sprint: Sharding C (11/20/15), Sharding D (12/11/15), Sharding E (01/08/16)
Participants:

 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


 Comments   
Comment by Githook User [ 10/Dec/15 ]

Author:

{u'username': u'mikety', u'name': u'Misha Tyulenev', u'email': u'misha@mongodb.com'}

Message: SERVER-21134 add basic tests for shardCollection command

(cherry picked from commit ea913733299778790e3a89e630a716ec7058c3a9)
Branch: v3.2
https://github.com/mongodb/mongo/commit/fa30e3f03627b470b5b26963f57f4e4a69fa5062

Comment by Githook User [ 10/Dec/15 ]

Author:

{u'username': u'mikety', u'name': u'Misha Tyulenev', u'email': u'misha@mongodb.com'}

Message: SERVER-21134 add basic tests for shardCollection command
Branch: master
https://github.com/mongodb/mongo/commit/ea913733299778790e3a89e630a716ec7058c3a9

Generated at Thu Feb 08 03:56:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.