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

Shell sharding helpers should give feedback on success

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.2.9, 3.3.8
    • Sharding, Shell
    • Fully Compatible
    • Sharding 15 (06/03/16)

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: