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

err field can appear twice in getLastError response

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.5
    • Affects Version/s: 2.5.4
    • Component/s: None
    • Labels:
      None
    • ALL

      Easiest way to reproduce this is to call getLastError with a fresh mongo shell session:

      > db.runCommand({ getLastError: 1 })
      {
      	"connectionId" : 1,
      	"n" : 0,
      	"syncMillis" : 0,
      	"writtenTo" : null,
      	"err" : null,
      	"err" : null,
      	"ok" : 1
      }
      

            Assignee:
            greg_10gen Greg Studer
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: