[SERVER-1893] Need the ability to update the shard key Created: 05/Oct/10 Updated: 05/Oct/10 Resolved: 05/Oct/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 1.7.1 |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Alvin Richards (Inactive) | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
db version v1.7.2-pre-, pdfile version 4.5 |
||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
Problem: Reproduce: > db.blogs.find() { "_id" : ObjectId("4cab5334e9d125376ee1006d"), "author" : "jim", "clocktime" : "Tue Oct 05 2010 12:32:52 GMT-0400 (EDT)", "ts" : 1, "tags" : [ "yes", "no" ] }> db.printShardingStatus() shards: { "_id" : "shard0000", "host" : "10.194.251.95:27000" } { "_id" : "shard0001", "host" : "10.202.251.67:27000" }databases: { "_id" : "admin", "partitioned" : false, "primary" : "config" } { "_id" : "scaleout", "partitioned" : true, "primary" : "shard0000" } scaleout.blogs chunks: } -->> { "ts" : 0 }on : shard0000 { "t" : 2000, "i" : 1 }{ "ts" : 0 } -->> { "ts" : { $maxKey : 1 }} on : shard0001 { "t" : 2000, "i" : 0 }> db.blogs.update( { ts : 1}, {ts : 2}) Solution: |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 05/Oct/10 ] |
|
This will not be supported. |