Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-9527

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

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Sharding
    • Labels:
    • Backwards Compatibility:
      Fully Compatible

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-sharding Backlog - Sharding Team
              Reporter:
              norberto.leite Norberto Fernando Rocha Leite (Inactive)
              Participants:
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated: