[SERVER-62758] migration_recovers_unfinished_migrations.js should not run on sharding_continuous_config_stepdown suites Created: 19/Jan/22  Updated: 29/Oct/23  Resolved: 21/Jan/22

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

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

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-01-24
Participants:
Linked BF Score: 153

 Description   

As a result of a CSRS steps down then steps up, the logic of migration_recovers_unfinished_migrations.js test is affected causing the execution to hang indefinitely. Indeed, the CSRS retries to run pending chunk migrations (this is part of the balancer logic).

The test was not designed to support this case, and that is also irrelevant to its purpose. The solution is to exclude this test from being performed when the CSRS steps down.



 Comments   
Comment by Githook User [ 21/Jan/22 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-62758 migration_recovers_unfinished_migrations.js should not run on sharding_continuous_config_stepdown suites
Branch: master
https://github.com/mongodb/mongo/commit/2810cab524f63be9296670ef34e11b2305f43af2

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