[SERVER-951] Shard Key compound key Created: 09/Apr/09 Updated: 12/Jul/16 Resolved: 16/Jul/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 1.5.5 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Eliot Horowitz (Inactive) | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 9 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Participants: | |||||||||||||
| Description |
|
might actually be done - not sure. |
| Comments |
| Comment by auto [ 16/Jul/10 ] |
|
Author: {'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}Message: Compound key sharding test now passes |
| Comment by auto [ 14/Jul/10 ] |
|
Author: {'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}Message: Commented out compound key test |
| Comment by auto [ 14/Jul/10 ] |
|
Author: {'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}Message: Remove code to ban compound shard keys |
| Comment by auto [ 14/Jul/10 ] |
|
Author: {'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}Message: compound shard keys are almost done |
| Comment by auto [ 14/Jul/10 ] |
|
Author: {'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}Message: ChunkMatcher compound key support |
| Comment by auto [ 13/Jul/10 ] |
|
Author: {'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'redbeard0531@gmail.com'}Message: compound key checkpoint |
| Comment by auto [ 12/Jul/10 ] |
|
Author: {'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}Message: Chunk::countObjects() uses $min and $max |
| Comment by Eliot Horowitz (Inactive) [ 15/Jun/10 ] |
|
@alexander we're definitely doing it - just wanted to see at that point if it was critical or could wait (until nowish) |
| Comment by Alex [ 15/Jun/10 ] |
|
Sure you could probably use subobjects for most situations but compound key sharding is almost an essential sharding feature i think and such features should not break existing applications |
| Comment by Michael Dirolf [ 12/Jan/10 ] |
|
One issue might be existing datasets that are trying to add sharding. |
| Comment by Mathias Stearn [ 12/Jan/10 ] |
|
Does anyone watching this have a use-case that couldn't be solved by sharding on a sub-object rather than using true compound keys? example: {name: {last: "Stearn", first: "Mathias}, ...} sharded on name sharded on [last_name, first_name] |
| Comment by Eliot Horowitz (Inactive) [ 30/Nov/09 ] |
|
big enough change - should just push |
| Comment by Eliot Horowitz (Inactive) [ 28/Oct/09 ] |
|
the trick is going to be using $min and $max for query creation |
| Comment by Eliot Horowitz (Inactive) [ 22/Apr/09 ] |
|
most important compound key support. |