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

Sharding a collection with a database name that has a regex character can result in a error

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.1
    • Affects Version/s: 1.8.4
    • Component/s: Sharding
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      1. Create a database named "test" and "user" collection under it.
      2. Enable sharding on test and shard test.user.
      3. Create a database named "[^0-9]+" and "loc" collection under it.
      4. Enable sharding on [^0-9]+.loc -> error message "can't have 2 databases that just differ on case have: test want to add: ^[0-9]" appears

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: