[SERVER-6357] Add tag based sharding commands Created: 09/Jul/12 Updated: 06/Dec/22 Resolved: 08/Mar/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin, Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | [DO NOT USE] Backlog - Sharding Team |
| Resolution: | Duplicate | Votes: | 3 |
| Labels: | PM497, commands, mongos, sharding | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Assigned Teams: |
Sharding
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Create commands to replace current shell development prototypes:
The tagChunk commands should validate that the namespace is valid, that the tag exists on some shard, that the min/max value is of the correct format and defines a value in the shard-key (if a prefix is used then $Min/MaxKey can be added for the missing fields), and that there are not overlapping ranges; if any of these validations fail then the commands should return an error. These commands are critical to support other clients than the shell, like all drivers, and is necessary for centralizing logic and behavior at the mongos codebase. The commands should also make sure that chunk boundaries line up with the new tags ranges. |
| Comments |
| Comment by Scott Hernandez (Inactive) [ 23/Apr/13 ] |
|
Looking at the naming again I think we might want to use these:
The js helpers are currently addShardTag and addTagRange so this is fairly consistent with the suggested naming scheme. |
| Comment by auto [ 30/Jan/13 ] |
|
Author: {u'date': u'2013-01-25T19:46:37Z', u'email': u'epc@10gen.com', u'name': u'Ed Costello'}Message: Add todo linking |