[SERVER-66869] Get rid of the multi DB locking capability Created: 31/May/22  Updated: 29/Oct/23  Resolved: 20/Jun/22

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

Type: Bug Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: LFR-BUG, PM-2144-Milestone-0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done before SERVER-66871 Multi-collection locking must only su... Blocked
Problem/Incident
causes SERVER-67850 AutoGetCollection doesn't always take... Closed
Related
is related to SERVER-64121 Add an enum flag to AutoGet* paths th... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding EMEA 2022-06-13, Sharding EMEA 2022-06-27
Participants:

 Description   

The multi DB locking capability does not correctly cooperate with sharding DB primary placement since it doesn't check whether the current shard is primary for the same database, and furthermore it is never correct to use if all the primaries are not placed on the same node.

Since currently there are no consumers of that capability, we should remove it and if it is needed, we should design it work properly with sharding.



 Comments   
Comment by Githook User [ 20/Jun/22 ]

Author:

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

Message: SERVER-66869 Get rid of the multi DB locking capability
Branch: master
https://github.com/mongodb/mongo/commit/77ee09ff95f6f51483ed1cde01198879adaa71ad

Comment by Githook User [ 20/Jun/22 ]

Author:

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

Message: SERVER-66869 Get rid of the multi DB locking capability
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/c7c4ee67433e3ba4982f8bde00b7c82e755de5d0

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