[SERVER-47411] SetShardVersion returns no error message if metadata refresh fails Created: 08/Apr/20  Updated: 29/Oct/23  Resolved: 18/Jun/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Improvement Priority: Major - P3
Reporter: Jack Mulrow Assignee: Allison Easton
Resolution: Fixed Votes: 0
Labels: sharding-interns-2020
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

If the metadata refresh triggered by a SetShardVersion command fails, the error code of the failure will be returned in the SetShardVersion response, but the error message of the failure will not be, which can make diagnosing failures more difficult. Instead the error's message should also be included in the response.



 Comments   
Comment by Githook User [ 18/Jun/20 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com'}

Message: SERVER-47411 SetShardVersion returns no error message if metadata refresh fails
Branch: master
https://github.com/mongodb/mongo/commit/6c2ebde6d6b5ebd0f8b723d757aa08a2bcf0f16b

Comment by Githook User [ 18/Jun/20 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com'}

Message: SERVER-47411 SetShardVersion returns no error message if metadata refresh fails
Branch: master
https://github.com/mongodb/mongo/commit/31a64f0cc546f325e1773091562f15264049c2d1

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