Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2867

Mongoimport reports success even if it fails to authenticate

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.9.2
    • Affects Version/s: 1.8.0
    • Component/s: Tools
    • None
    • ALL

      If you have authentication enabled and you try to mongoimport data without specifying a username / password, mongo import will report success (e.g. "imported N objects") even tho it failed to import a single object. Seems like if we fail to authenticate, it should report an error and not try to import docs.

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            jsr Jared Rosoff
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: