[SERVER-57709] Make MigrationDestinationManager's inserter thread interruptible on stepdown Created: 15/Jun/21  Updated: 29/Oct/23  Resolved: 16/Jun/21

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

Type: Bug 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:
Backports
Depends
Related
is related to SERVER-55573 Deadlock between stepdown and chunk m... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: Sharding 2021-06-28
Participants:
Linked BF Score: 123

 Description   

The inserter thread currently runs with a separate opCtx that is not interruptible on stepdown so this can lead to the deadlock as described in SERVER-55573.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 22/Jun/21 ]

Author:

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

Message: SERVER-57709 Make MigrationDestinationManager's inserter thread interruptible on stepdown

(cherry picked from commit a8b57098955144738ccc8e3077f6162d64d5d309)
Branch: v5.0
https://github.com/mongodb/mongo/commit/33ad68c0dc4bda897a5647608049422ae784a15e

Comment by Githook User [ 16/Jun/21 ]

Author:

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

Message: SERVER-57709 Make MigrationDestinationManager's inserter thread interruptible on stepdown
Branch: SERVER-34632
https://github.com/mongodb/mongo/commit/a8b57098955144738ccc8e3077f6162d64d5d309

Comment by Githook User [ 16/Jun/21 ]

Author:

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

Message: SERVER-57709 Make MigrationDestinationManager's inserter thread interruptible on stepdown
Branch: master
https://github.com/mongodb/mongo/commit/a8b57098955144738ccc8e3077f6162d64d5d309

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