[SERVER-55157] Make tenant migration hook throw an error if the migration aborts not because of the failpoint Created: 11/Mar/21  Updated: 29/Oct/23  Resolved: 15/Mar/21

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

Type: Task Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-55167 Investigate why tenant migrations can... Closed
related to SERVER-55168 Allow tenant migration cloner to writ... Closed
related to SERVER-55169 Timeseries bucket collections is expe... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-03-22
Participants:

 Description   

Currently, if the migration aborts, the hook just assumes that it was caused by the failpoint abortTenantMigrationBeforeLeavingBlockingState but that might not the case. The hook should check the abort reason here to make sure that the migration doesn't abort due to other issues.



 Comments   
Comment by Githook User [ 15/Mar/21 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-55157 Make tenant migration hook throw an error if the migration aborts not because of the failpoint
Branch: master
https://github.com/mongodb/mongo/commit/a329925d96ae16dfbd194f4a930db0b1e159e5f1

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