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

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: