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

err field can appear twice in getLastError response

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.5.4
    • Fix Version/s: 2.5.5
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL

      Description

      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
      }

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              greg_10gen Greg Studer
              Reporter:
              renctan Randolph Tan
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: