[SERVER-40258] Relax locking requirements for sharding metadata refresh on shards Created: 21/Mar/19  Updated: 29/Oct/23  Resolved: 27/Jun/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 4.1.9
Fix Version/s: 4.2.1, 4.3.1

Type: Improvement Priority: Major - P3
Reporter: Randolph Tan Assignee: Randolph Tan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-42006 Add transaction tags to prepared_txn_... Closed
Problem/Incident
causes SERVER-72322 The 'forceShardFilteringMetadataRefre... Open
causes SERVER-64730 The 'forceShardFilteringMetadataRefre... Closed
Related
is related to SERVER-70832 Don't take DB lock in MODE_X when ins... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2
Sprint: Sharding 2019-04-22, Sharding 2019-06-17, Sharding 2019-07-01
Participants:

 Description   

in order for it not to block behind ongoing transactions.



 Comments   
Comment by Githook User [ 13/Sep/19 ]

Author:

{'email': 'randolph@mongodb.com', 'name': 'Randolph Tan'}

Message: SERVER-40258 Relax locking requirements for sharding metadata refresh on shards

(cherry picked from commit 0d07bf5e7a72a5bce3f7d7d681a71d7ecfe7eb8c)
Branch: v4.2
https://github.com/mongodb/mongo/commit/87d8a588a8f43c580f26f3c3031e507dea6c7e1e

Comment by Githook User [ 13/Sep/19 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@mongodb.com'}

Message: SERVER-40258 Rename CSRLock::lock to CSRLock::lockShared

(cherry picked from commit d6834482ef9bbca8fd81e82483dedde965de9574)
Branch: v4.2
https://github.com/mongodb/mongo/commit/121aa792f301b5edbfbda44048f5bcbd6de830b3

Comment by Githook User [ 27/Jun/19 ]

Author:

{'name': 'Randolph Tan', 'username': 'renctan', 'email': 'randolph@10gen.com'}

Message: SERVER-40258 Relax locking requirements for sharding metadata refresh on shards
Branch: master
https://github.com/mongodb/mongo/commit/0d07bf5e7a72a5bce3f7d7d681a71d7ecfe7eb8c

Comment by Githook User [ 27/Jun/19 ]

Author:

{'name': 'Randolph Tan', 'username': 'renctan', 'email': 'randolph@10gen.com'}

Message: SERVER-40258 Rename CSRLock::lock to CSRLock::lockShared
Branch: master
https://github.com/mongodb/mongo/commit/d6834482ef9bbca8fd81e82483dedde965de9574

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