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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding EMEA 2022-03-21, Sharding EMEA 2022-04-04

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: