[SERVER-24309] return the actual failed Status when failing to generate a new shard name in addShard Created: 27/May/16  Updated: 06/Jun/16  Resolved: 02/Jun/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.3.6
Fix Version/s: 3.3.8

Type: Improvement Priority: Major - P3
Reporter: Randolph Tan Assignee: Esha Maharishi (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 15 (06/03/16)
Participants:

 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



 Comments   
Comment by Githook User [ 02/Jun/16 ]

Author:

{u'name': u'Esha Maharishi', u'email': u'esha.maharishi@mongodb.com'}

Message: SERVER-24309 return the actual failed Status when failing to generate a new shard name in addShard
Branch: master
https://github.com/mongodb/mongo/commit/69d179fa2e15900431681e45394f155d69056f56

Generated at Thu Feb 08 04:05:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.