[SERVER-54809] Refine CSRS command must acquire the DistLock if received from a router Created: 26/Feb/21  Updated: 29/Oct/23  Resolved: 26/Feb/21

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

Type: Bug Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Pierlauro Sciarelli
Resolution: Fixed Votes: 0
Labels: PM-1965-Milestone-0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
is caused by SERVER-52777 Fit 'refineShardKey' in the DDL coord... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 33

 Description   

In SERVER-52777, the distributed lock acquisition for refine collection shard key has been moved from the CSRS to the primary shard, meaning that now the CSRS is not taking it when receiving a request from a last-lts router.

A possible multiversion-compatible solution is to acquire the distributed lock only when a request is not received from the primary shard (meaning that it has been received from a last-lts router).



 Comments   
Comment by Githook User [ 26/Feb/21 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-54809 Refine CSRS command must acquire the DistLock if received from a router
Branch: master
https://github.com/mongodb/mongo/commit/c2569f1751e37b1834f4591a4c9c336362cd2749

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