[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:
Related
related to SERVER-12971 Use Regular Expression for Tag Ranges Closed
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' )
or
sh.addTagRange( 'prefix*.*', ... , 'DYNAMIC')


Generated at Thu Feb 08 03:20:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.