[SERVER-53227] Move the DistLock to only be available on MongoD Created: 04/Dec/20  Updated: 29/Oct/23  Resolved: 07/Jan/21

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

Type: Task Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: PM-1965-Milestone-0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-53118 Make DistLock resilient to step downs... Closed
Problem/Incident
causes SERVER-53689 Avoid DistLockManager to run in KeyGe... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2020-12-14, Sharding 2020-12-28, Sharding 2021-01-11
Participants:

 Description   

Currently, the DistLockManager is available both on MongoS and MongoD. With this change it should be made available only on MongoD, moved outside of the ShardingCatalogClient and only present in the ShardServer role.



 Comments   
Comment by Githook User [ 09/Jan/21 ]

Author:

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

Message: SERVER-53227 Move omitted LockPings/LockType files to MongoD

The previous commit forgot to move these files out of MongoS.
Branch: master
https://github.com/mongodb/mongo/commit/d69758f9698deb65f67d40be17b02a085e494e5c

Comment by Ian Whalen (Inactive) [ 04/Jan/21 ]

Author:

{'username': u'evrg-bot-webhook', 'name': u'Kaloian Manassiev', 'email': u'kaloian.manassiev@mongodb.com'}

Message:SERVER-53227 Move the DistLockManager to only be available on MongoD
Branch:master
https://github.com/mongodb/mongo/commit/5431150d116b70fc9401c46deaacc9ae049f064e

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