[SERVER-38440] Remove unnecessary UninterruptibleLockGuards from sharding code Created: 06/Dec/18  Updated: 29/Oct/23  Resolved: 13/Dec/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.1.7

Type: Task Priority: Major - P3
Reporter: Samyukta Lanka Assignee: Samyukta Lanka
Resolution: Fixed Votes: 0
Labels: prepare_durability, prepare_interruptibility, uninterruptibleLockGuardRemoval
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-33577 Remove UninterruptibleLockGuards in s... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2018-12-17, Repl 2019-01-14
Participants:

 Description   

There are four places in src/mongo/db/s/ that we can remove the use of UninterruptibleLockGuard because they are unnecessary and would conflict with prepared transactions based on the locks they take. 

The first is in migration_source_manager.cpp.

The other three are in move_primary_source_manager.cpp here, here and here.



 Comments   
Comment by Githook User [ 13/Dec/18 ]

Author:

{'username': 'lankas', 'email': 'samy.lanka@mongodb.com', 'name': 'Samy Lanka'}

Message: SERVER-38440 Remove unnecessary UninterruptibleLockGuards from sharding code
Branch: master
https://github.com/mongodb/mongo/commit/12845bf8781348fb7cf261a8723f75906f481b0a

Generated at Thu Feb 08 04:48:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.