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

getLastError to Mongos gives an empty errmsg field if it fails

    • ALL

      We were performing a series of restarts of config servers and shards. While some of the servers were rebooting, mongos that used them occasionally returned the following error:

      { "ok" : 0.0, "errmsg" : "" }

      ).
      Our auto-retry framework relies on a set of error codes and/or messages and can't cope with such errors. Emitting a more descriptive error and assigning this kind of error an error code (even generic one) would be very helpful both for diagnosing reasons of the error and attempting to recover from it.

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            onyxmaster Aristarkh Zagorodnikov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: