Allow setUserWriteBlockMode to run against mongod shardserver primaries

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • 🟦 Shard Catalog
    • None
    • None
    • None
    • None
    • None
    • None

      Currently mongotune uses setUserWriteBlockMode to block writes on a replica set when the primary is above a certain disk usage threshold.

      This policy is not yet supported on sharded clusters because setUserWriteBlockMode only supports running against mongos to block writes to the entire cluster. This is not ideal for customers who may have queries that target shard A fail if shard B is the one that is over the disk threshold.

      This ticket is to track the proposed work of allowing setUserWriteBlockMode to be issued against a shard server primary that block writes to individual shards

            Assignee:
            Unassigned
            Reporter:
            Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: