[SERVER-68890] Remove error code conversions in the MigrationSourceManager commit path Created: 17/Aug/22  Updated: 29/Oct/23  Resolved: 17/Aug/22

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

Type: Bug Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
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
Sprint: Sharding EMEA 2022-08-22
Participants:
Linked BF Score: 44

 Description   

With the changes to remove the DistLockManager, conflicting DDLs are interrupting ongoing migrations more aggressively than before and it looks like we have tests that do not expect that.

Particularly problematic is the conversion here which causes the interruption error to be lost. Given that any of the other interruptible calls just above can fail due to interruption, I don't see any merit in doing that conversion.



 Comments   
Comment by Githook User [ 15/Sep/22 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-68890 Remove error code conversions in the MigrationSourceManager commit path

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

Comment by Githook User [ 17/Aug/22 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-68890 Remove error code conversions in the MigrationSourceManager commit path
Branch: master
https://github.com/mongodb/mongo/commit/f4346f270a8299d7a48c4f5416ab27d4d3a56f17

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