create shard tag ranges for name spaces using wildcards or regex matching

XMLWordPrintableJSON

    • Cluster Scalability
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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')

              Assignee:
              [DO NOT USE] Backlog - Cluster Scalability
              Reporter:
              Norberto Fernando Rocha Leite (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: