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

bsondump rewrite wrongly exits with error when running with noobjcheck

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • None

      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)

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

              Created:
              Updated:
              Resolved: