mongodump can overwrite collection files on case insensitive filesystems

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.2.16
    • Component/s: mongodump
    • None
    • Environment:
      Windows Server 2012 R2

      If I have one db dbtest and two collections example,

      1) NameColletion with 10 documents (1KB for document)
      2) nameCollection with 0 documents

      when execute the mongodump of dbtest, in the folder dump i found olny this result:

      NameCollection.bson 0KB
      nameCollection.metadata.json 1KB

      instead:

      NameCollection.bson 10KB
      NameCollection.metadata.json 1KB

      nameCollection.bson 0KB
      nameCollection.metadata.json 1KB

      I repeated the dump operation and i receive the same result.

      If execute the dump of only collection, the dump is correct.

      I found this bug while execute the migration process from windows to linux environment.

              Assignee:
              David Golden
              Reporter:
              Giovanni Raco
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: