enableSharding does not check db name

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.0.0
    • Component/s: Sharding
    • None
    • Sharding
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      mongos> db.runCommand({enableSharding: 'a.b'});
      

      works on mongo 3.0.x

      a.b is not a valid db name and this should not be allowed. Its implicitly fixed in mongos 3.2

            Assignee:
            [DO NOT USE] Backlog - Sharding Team
            Reporter:
            Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: