[SERVER-65811] migration_coordinator_abort_failover.js should accept stepdown errors when these are provoked by the test itself Created: 20/Apr/22  Updated: 29/Oct/23  Resolved: 20/Apr/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc3, 6.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Paolo Polato Assignee: Paolo Polato
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0, v5.3, v5.0
Sprint: Sharding EMEA 2022-05-02
Participants:
Linked BF Score: 19

 Description   

After the introduction of SERVER-63761, moveChunk commands may return an OperationFailed error to the user when the request gets interrupted by a step-down event in the donor shard.

Such scenario is being set up by migration_coordinator_abort_failover.js in several test cases, but the related assert clauses are not able to tolerate the failure and need to be adapted.



 Comments   
Comment by Githook User [ 27/Apr/22 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-65811 Adjust set of expected errors in migration_coordinator_abort_failover.js

(cherry picked from commit f08cda52ec0e3cbe6ffea30848179ef8641d5f34)
Branch: v6.0
https://github.com/mongodb/mongo/commit/d0e66009f71bb16276bcb936d1cbd08f64226283

Comment by Githook User [ 20/Apr/22 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-65811 Adjust set of expected errors in migration_coordinator_abort_failover.js
Branch: master
https://github.com/mongodb/mongo/commit/f08cda52ec0e3cbe6ffea30848179ef8641d5f34

Generated at Thu Feb 08 06:03:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.