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

"collection already exists" error misses code

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Diagnostics
    • Fully Compatible
    • ALL

    Description

      Creating a duplicate collection is a common error cases that needs a comparison to differentiate real errors from expected behavior, and unfortunately it misses a code at the moment:

      [LOG] 37.79905 Socket 0xf84014d540 to localhost:54424: received document: bson.M

      {"ok":0, "errmsg":"collection already exists"}

      Attachments

        Activity

          People

            kyle.suarez@mongodb.com Kyle Suarez
            niemeyer Gustavo Niemeyer
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: