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

sharding getLastError only reports mongod error

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • 1.5.1
    • None
    • Sharding
    • None

    Description

      > db.foo.insert({_id:1, key:1}
      > db.foo.update({_id:1, key:1},

      {key:2}

      )
      > db.getLastErrorObj()

      { "err" : null, "ok" : 1 }

      output from sharding script:
      S1: Wed Apr 21 18:02:50 UserException: change would move shards!

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: