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

addShard() is missing a check to see if a status is okay before processing it further

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.1
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2018-07-02
    • 15

    Description

      In this commit, a few lines were refactored into a local lambda function, but the check here was not ported over:
      https://github.com/mongodb/mongo/commit/09919208ae16cd44f3ca3e98220e1cc322419a8a#diff-64f8569158f82fc1a18681d15ce10b4aL651

      This can lead to issues when trying to process the command further.

      Attachments

        Activity

          People

            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: