[SERVER-64346] Generalize shardsvr_participant_block command Created: 09/Mar/22  Updated: 29/Oct/23  Resolved: 01/Aug/22

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

Type: Bug Priority: Major - P3
Reporter: Rui Liu Assignee: Marcos José Grillo Ramirez
Resolution: Fixed Votes: 0
Labels: neweng, sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding EMEA 2022-08-08
Participants:

 Description   

This command is introduced in SERVER-61028 to block CRUD operations on the shards. We should generalize this command to make it reusable in other scenarios:

  • the reason to distinguish between critical section acquired from different DDL operations.
  • a flag blockReads to specify if the critical section should be taken in writeOnly or readAndWrite mode.


 Comments   
Comment by Githook User [ 01/Aug/22 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-64346 Add block type and reason fields to _shardsvrParticipantBlock command
Branch: master
https://github.com/mongodb/mongo/commit/9a775c3090716d55f3a5aa0d5027fad7af32acd0

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