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

return the actual failed Status when failing to generate a new shard name in addShard

    XMLWordPrintableJSON

Details

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

    Description

      If an error occurred while attempting to generate a new shard name during addShard, the code throws away the error information and returns with a generic error message here:

      https://github.com/mongodb/mongo/blob/r3.3.6/src/mongo/s/catalog/replset/catalog_manager_replica_set.cpp#L479

      Attachments

        Activity

          People

            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: