[SERVER-50577] Return actual donor shard version in getShardAndCollectionVersion Created: 27/Aug/20  Updated: 29/Oct/23  Resolved: 02/Sep/20

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

Type: Bug Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Pierlauro Sciarelli
Resolution: Fixed Votes: 0
Labels: PM-1645-Milestone-1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
is caused by SERVER-49147 Make _configsvrCommitChunkMigration i... Closed
Backwards Compatibility: Minor Change
Operating System: ALL
Participants:

 Description   

When the donor shard version can't be obtained from the config server, it is currently defaulted to ChunkVersion(0,0) so treated as "not having chunks".

If the exhaustive find on config fails, just bubble up the exception in order to retry (as in SERVER-50458).



 Comments   
Comment by Githook User [ 02/Sep/20 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-50577 Return actual donor shard version in getShardAndCollectionVersion
Branch: master
https://github.com/mongodb/mongo/commit/5668e02f92d5253da875856d151d0241a334bb31

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