[SERVER-14313] Warn if numInitialChunks used for shardCollection on non-empty collection Created: 19/Jun/14  Updated: 06/Dec/22  Resolved: 04/Dec/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Dylan Tong Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Done Votes: 0
Labels: commands, hashed, neweng, shardCollection
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-23327 shardCollection should warn if numIni... Closed
Related
related to DOCS-3624 Note that numInitialChunks is only us... Closed
Assigned Teams:
Sharding
Participants:

 Description   

Shardcollection doesn't support the numInitialChunks parameter when the collection has data in it:
http://docs.mongodb.org/manual/reference/command/shardCollection/

It would be very helpful if the user is at least warned about this.



 Comments   
Comment by Asya Kamsky [ 24/Mar/18 ]

Looks like since this was filed SERVER-23327 correctly returns an error in this scenario so I think this ticket can be closed.

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