Creating a DB with a name containing a colon creates two DBs

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.1.2
    • Affects Version/s: 2.0.1
    • Component/s: Storage
    • Environment:
      Windows 7 32bit
    • Windows
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Creating a DB with a name containing a colon creates two DBs

      steps to reproduce

      Type following statements into a mongo shell:

      > use D:B
      switched to db D:B
      > db.c.save({1:1})
      > show dbs
      D:B     (empty)
      D_B     0.03125GB
      

      expected result

      One database is created.

      actual result

      Two databases where created. The one with the colon replaced by underline
      has no collections - but a size is shown by show dbs.

      The database which is shown empty by show dbs, has collections c and
      system.indexes.

            Assignee:
            Tad Marshall
            Reporter:
            Daniel Betz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: