Improve Shell Message on Server Shutdown

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.1.0
    • Component/s: Shell
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      After issuing db.shutdownServer() from the shell, the following error message will be printed out. I believe these messages are somewhat confusing for users, and made the product less polished in its presentation. Wouldn't be nice if the message could be changed to something along the line of "Shell was disconnected from server."?

      > db.shutdownServer();
      Tue Mar 27 15:42:36 DBClientCursor::init call() failed
      Tue Mar 27 15:42:36 query failed : admin.$cmd

      { shutdown: 1.0 }

      to:
      127.0.0.1
      server should be down...
      Tue Mar 27 15:42:36 trying reconnect to 127.0.0.1
      Tue Mar 27 15:42:37 reconnect 127.0.0.1 failed couldn't connect to
      server 127.0.
      0.1
      Tue Mar 27 15:42:37 Error: error doing query: unknown shell/
      collection.js:151

            Assignee:
            DO NOT USE - Backlog - Platform Team
            Reporter:
            Yiling Lu
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: