[SERVER-63724] ShardingDDLCoordinators should forward the WriteBlockBypass flag when running commands on participant shards Created: 16/Feb/22  Updated: 29/Oct/23  Resolved: 23/Mar/22

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

Type: Task Priority: Major - P3
Reporter: Jordi Serra Torrens Assignee: Jordi Serra Torrens
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-63173 Create WriteBlockBypass decoration on... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-03-21, Sharding EMEA 2022-04-04
Participants:

 Description   

Sharded DDL that is started by a client that has the WriteBlockBypass flag attached should be able to proceed. To do so, ShardingDDLCoordinators will need to forward this flag in the requests it makes to participant shards.

The status of the bypass flag should be stored onĀ ShardingDDLCoordinatorMetadata and attached on the opCtx in ForwardableOperationMetadata::setOn so that it is forwarded when making requests to the shards.



 Comments   
Comment by Githook User [ 22/Mar/22 ]

Author:

{'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}

Message: SERVER-63724 ShardingDDLCoordinators should forward the WriteBlockBypass flag when running commands on participant shards
Branch: master
https://github.com/mongodb/mongo/commit/07c3d2ebcd3ca8127ed5a5aaabf439b57697b530

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