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

mongodump skips documents with empty field names

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical - P2
    • Resolution: Fixed
    • None
    • 100.4.1
    • common
    • None

    Description

      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} 

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: