[SERVER-2941] shouldn't be able to have an array be the shard key Created: 13/Apr/11  Updated: 19/Apr/12  Resolved: 16/Aug/11

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

Type: Bug Priority: Minor - P4
Reporter: free Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

windows xp


Issue Links:
Duplicate
duplicates SERVER-3586 Array as shard key value should be pr... Closed
Operating System: ALL
Participants:

 Description   

http://groups.google.com/group/mongodb-user/browse_thread/thread/9b0ee9a7e93f1f53

MongoDB should not allow make an array as shard key, because there is no useful
And if shard key is set, then saving a doc whose shard key is a array should be invalid.



 Comments   
Comment by free [ 13/Apr/11 ]

hope this will not affect the performance

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