[SERVER-9527] create shard tag ranges for name spaces using wildcards or regex matching Created: 01/May/13 Updated: 16/Jan/24 |
|
| Status: | Open |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Norberto Fernando Rocha Leite (Inactive) | Assignee: | Backlog - Cluster Scalability |
| Resolution: | Unresolved | Votes: | 4 |
| Labels: | oldshardingemea, sharded-cluster, sharding-common-backlog | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Cluster Scalability
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Participants: | |||||||||
| Description |
|
Nowadays to configure dynamic creation of sharded dbs/collections we need to set a tagRange for each new namespace. By defining a wildcard namespace or regex expression to match namespaces we could dynamically allocate to a set of shards the data of these dynamically generated databases/collections: sh.addTagRange( '$**', {key:MinKey}, {key:MaxKey}, 'DYNAMIC' ) |