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

sharding getLastError only reports mongod error

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 1.5.1
    • Affects Version/s: None
    • Component/s: Sharding
    • None

      > 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!

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

              Created:
              Updated:
              Resolved: