Generalize shardsvr_participant_block command

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Sharding EMEA 2022-08-08
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Marcos José Grillo Ramirez
            Reporter:
            Rui Liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: