[SERVER-64450] Accept TenantMigrationCommitted as indication of migration success Created: 11/Mar/22  Updated: 29/Oct/23  Resolved: 12/Mar/22

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

Type: Improvement Priority: Major - P3
Reporter: Matt Broadstone Assignee: Matt Broadstone
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
Participants:
Linked BF Score: 31

 Description   

The assertCmdSucceededOrInterruptedDueToStepDown and
assertCmdSucceededOrInterruptedDueToShutDown helpers currently only accept ok:1 and notPrimary errors as indication of command success. When a migration is committed before donorAbortMigration is sent we return TenantMigrationCommitted, so we should include that as acceptance criteria for the abort operation.



 Comments   
Comment by Githook User [ 11/Mar/22 ]

Author:

{'name': 'Matt Broadstone', 'email': 'mbroadst@mongodb.com', 'username': 'mbroadst'}

Message: SERVER-64450 TenantMigrationCommitted means migration succeeded
Branch: master
https://github.com/mongodb/mongo/commit/6e78301f3a9e0c20f3dfd154b6a45033f57ebf81

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