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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.8
    • Affects Version/s: 3.3.6
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding 15 (06/03/16)

      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

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

              Created:
              Updated:
              Resolved: