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

bsondump rewrite wrongly exits with error when running with noobjcheck

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.8.0-rc2
    • None
    • None
    • None

    Description

      If running with type=debug and noobjcheck, the new bsondump will exit with error code 1 if it hits an objcheck error. Legacy bsondump will exit with success in this case as long as it can get past the objcheck error.

      The bsondump rewrite should not exit with an error when running debug with noobjcheck, as long as the bson errors are recoverable (ie. not invalid object size, etc)

      Attachments

        Activity

          People

            mikeo@mongodb.com Michael O'Brien
            kyle.erf Kyle Erf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: