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

Shell sharding helpers should give feedback on success

    • Fully Compatible
    • Sharding 15 (06/03/16)

      SERVER-22449 means that failures in these functions will now correctly cause exceptions to be raised.

      However, it is useful for users and support to receive positive feedback when the operations succeed.

      This is so that success can be known immediately after the function has run, without needing to determine whether or not the user is running a post-SERVER-22449 version of the shell (ie. whether or not there would have been an exception).

      For most of the sh.* functions, this just means adding return in front of the assert.writeOK. startBalancer and stopBalancer will likely be a little less straightforward.

            Assignee:
            kevin.pulo@mongodb.com Kevin Pulo
            Reporter:
            kevin.pulo@mongodb.com Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: