[SERVER-8830] Able to modify component of shard key Created: 02/Mar/13 Updated: 08/Mar/13 Resolved: 04/Mar/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 2.4.0-rc1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Sridhar Nanjundeswaran | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
2.4.0-rc1 build on Windows 7 |
||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Operating System: | ALL | ||||||||||||
| Steps To Reproduce: | mongo ShardKeyModify.js |
||||||||||||
| Participants: | |||||||||||||
| Description |
|
The test below fails with Expect the document to be unchanged , "val" : -1 } , "val" : -101 } Similarly the following change should not go through , "val" : -2 } , "val" : -100 } But as expected the following results in an error , val:-100}}) collection: _unknown_name_.coll2Sharded |