sharding getLastError only reports mongod error

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Critical - P2
    • 1.5.1
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • 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 Horowitz (Inactive)
            Reporter:
            Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: