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

Add internal helper command "replaceAllClusterParameters"

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Server Security

      In one case of addShard, we delete all of the cluster parameters on the new shard, and then set all of our cluster parameters on that shard. If t is the number of tenants, and c is the average number of set cluster parameters per tenant, this will take on the order of tc network operations, which blows up very quickly. replaceAllClusterParameters would take an object of the form {<tenant-id-1>:

      {<cluster-param-1>: <val>, ...}

      , ...} and would delete all existing cluster parameters, then set all given cluster parameters. This would mean we can do all of the above in one network operation. Some thought is required in terms of max BSON size, and what happens if we overrun it.

            Assignee:
            backlog-server-security [DO NOT USE] Backlog - Security Team
            Reporter:
            gabriel.marks@mongodb.com Gabriel Marks
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: