-
Type: New Feature
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
Cluster Scalability
-
Fully Compatible
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')
- related to
-
SERVER-12971 Use Regular Expression for Tag Ranges
- Closed