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

Add a command to change the balancer modes

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

      During the balance unsharded project, we will introduce two new balancer modes, so we will need to introduce a command to change between these modes. This command should not be able to switch the balancer on and off, and should only be able to switch between the different on modes.

      This command should look like:

      db.adminCommand({balancerSetMode: 1,mode: <string> // can be "unshardedOnly", "shardedOnly", or "full"})

            backlog-server-catalog-and-routing Backlog - Catalog and Routing
            allison.easton@mongodb.com Allison Easton
            0 Vote for this issue
            2 Start watching this issue