[SERVER-8930] I'm having problems with the tag ranges.it can't move data to shard server with tag. Created: 11/Mar/13 Updated: 10/Dec/14 Resolved: 04/Apr/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 2.3.0 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | zero_li123456 | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
— Sharding Status — shards: { "_id" : "shard0000", "host" : "172.16.9.1:27017", "tags" : [ "tag0" ] } { "_id" : "shard0001", "host" : "172.16.9.2:27017", "tags" : [ "tag1" ] } { "_id" : "shard0002", "host" : "172.16.9.3:27017", "tags" : [ "tag2" ] }databases: { "_id" : "admin", "partitioned" : false, "primary" : "config" } { "_id" : "bi", "partitioned" : true, "primary" : "shard0000" } bi.products chunks: } -->> { "prod_id" : NumberLong(7302933) } on : shard0000 Timestamp(2000, 1) -->> { "prod_id" : NumberLong(7309926) } on : shard0000 Timestamp(1000, 3) -->> { "prod_id" : { $maxKey : 1 } } on : shard0001 Timestamp(2000, 0) -->> { "prod_id" : 8300000 }tag: null { "tag" : "tag0" } -->> "tag0" -->> "tag1" -->> "tag2" db.products.find(null, {prod_id:1,tag:1}).sort( {prod_id:-1}) { "_id" : ObjectId("513d5651be84f5a1b352328a"), "prod_id" : NumberLong(7309925), "tag" : "tag2" } { "_id" : ObjectId("513d5636be84f5a1b3521e5b"), "prod_id" : NumberLong(7309924), "tag" : "tag1" } { "_id" : ObjectId("513d562abe84f5a1b352179a"), "prod_id" : NumberLong(7309923), "tag" : "tag0" } { "_id" : ObjectId("513d5646be84f5a1b3522aa4"), "prod_id" : NumberLong(7309922), "tag" : "tag2" } { "_id" : ObjectId("513d565bbe84f5a1b3523b1f"), "prod_id" : NumberLong(7309921), "tag" : "tag1" } { "_id" : ObjectId("513d562bbe84f5a1b3521866"), "prod_id" : NumberLong(7309920), "tag" : "tag0" } { "_id" : ObjectId("513d563bbe84f5a1b3522229"), "prod_id" : NumberLong(7309919), "tag" : "tag2" } { "_id" : ObjectId("513d562cbe84f5a1b35218fc"), "prod_id" : NumberLong(7309918), "tag" : "tag1" } { "_id" : ObjectId("513d5635be84f5a1b3521dc7"), "prod_id" : NumberLong(7309917), "tag" : "tag0" } { "_id" : ObjectId("513d5657be84f5a1b3523800"), "prod_id" : NumberLong(7309916), "tag" : "tag2" } { "_id" : ObjectId("513d5639be84f5a1b35220f6"), "prod_id" : NumberLong(7309915), "tag" : "tag1" } { "_id" : ObjectId("513d5644be84f5a1b352297d"), "prod_id" : NumberLong(7309914), "tag" : "tag0" } { "_id" : ObjectId("513d5659be84f5a1b3523943"), "prod_id" : NumberLong(7309913), "tag" : "tag2" } { "_id" : ObjectId("513d5630be84f5a1b3521bf6"), "prod_id" : NumberLong(7309912), "tag" : "tag1" } { "_id" : ObjectId("513d5632be84f5a1b3521c92"), "prod_id" : NumberLong(7309911), "tag" : "tag0" } { "_id" : ObjectId("513d565abe84f5a1b3523a7c"), "prod_id" : NumberLong(7309910), "tag" : "tag2" } { "_id" : ObjectId("513d5639be84f5a1b35220f7"), "prod_id" : NumberLong(7309909), "tag" : "tag1" } { "_id" : ObjectId("513d564bbe84f5a1b3522e6d"), "prod_id" : NumberLong(7309908), "tag" : "tag0" } { "_id" : ObjectId("513d562abe84f5a1b352179b"), "prod_id" : NumberLong(7309907), "tag" : "tag2" } { "_id" : ObjectId("513d563abe84f5a1b3522226"), "prod_id" : NumberLong(7309906), "tag" : "tag1" } |
| Comments |
| Comment by Asya Kamsky [ 21/May/13 ] |
|
Likely this would be resolved by https://jira.mongodb.org/browse/SERVER-6357 so probably duplicate. |
| Comment by sam.helman@10gen.com [ 19/Mar/13 ] |
|
Hello, Given the length of this output, would it be possible to include a brief description of what you are expecting to see, along with the sequence of commands you have run and possibly a script to reproduce the issue? Thank you |