[SERVER-76273] SessionCatalogMigrationDestination is not interruptible on stepdown Created: 19/Apr/23  Updated: 29/Oct/23  Resolved: 20/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0, 7.1.0-rc0, 6.0.6

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

Issue Links:
Backports
Depends
Related
related to SERVER-60161 Deadlock between config server stepdo... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0, v6.0
Sprint: Sharding EMEA 2023-05-01
Participants:
Linked BF Score: 129

 Description   

SessionCatalogMigrationDestination checks out sessions and later in its execution will acquire the RSTL lock. However, the its operation contexts are not marked as interruptable on stepdown. This can cause deadlocks.

Its opCtxs should be made interruptible on stepdown.



 Comments   
Comment by Githook User [ 21/Apr/23 ]

Author:

{'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}

Message: SERVER-76273 Make SessionCatalogMigrationDestination's opCtxs interruptible on stepdown

(cherry picked from commit 2049bdcaf27aa5a06b8c7b3c552d7b19e303b3c5)
Branch: v7.0
https://github.com/mongodb/mongo/commit/59c38fbccc7961e7f62cf8f75ce383d71ae06832

Comment by Githook User [ 21/Apr/23 ]

Author:

{'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}

Message: SERVER-76273 Make SessionCatalogMigrationDestination's opCtxs interruptible on stepdown

(cherry picked from commit 2049bdcaf27aa5a06b8c7b3c552d7b19e303b3c5)
Branch: v6.0
https://github.com/mongodb/mongo/commit/9c000168c31a10b68ad9ba980a5d1ab0885d8122

Comment by Githook User [ 19/Apr/23 ]

Author:

{'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}

Message: SERVER-76273 Make SessionCatalogMigrationDestination's opCtxs interruptible on stepdown
Branch: master
https://github.com/mongodb/mongo/commit/2049bdcaf27aa5a06b8c7b3c552d7b19e303b3c5

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