Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-63724

ShardingDDLCoordinators should forward the WriteBlockBypass flag when running commands on participant shards

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding EMEA 2022-03-21, Sharding EMEA 2022-04-04

      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.

            Assignee:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: