Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2931

mongodump skips documents with empty field names

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 100.4.1
    • Affects Version/s: None
    • Component/s: common
    • None

      This was introduced in v100.4.0 as part of TOOLS-2921. It is not a problem with the Go Driver, but a mistake where we override the default filter for queries during DeferredQuery.Count(). Specifically we set the default filter to be:

      bson.D{{}} 

      Instead of:

      bson.D{} 

      This is setting the filter to: 

      {"": null} 

       

            Assignee:
            tim.fogarty@mongodb.com Tim Fogarty
            Reporter:
            tim.fogarty@mongodb.com Tim Fogarty
            Ryan Chipman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: