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

Add entry for sh.stopBalancer to sh.help() output

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.9
    • Component/s: Shell
    • Labels:
    • Environment:
      Ubuntu 14.04
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      Linux
    • Sprint:
      Sharding 17 (07/15/16)

      Description

      The stopBalancer command is not shown in the help

      > db.version()
      3.0.4
      > sh.help()
      sh.addShard( host ) server:port OR setname/server:port
      sh.enableSharding(dbname) enables sharding on the database dbname
      sh.shardCollection(fullName,key,unique) shards the collection
      sh.splitFind(fullName,find) splits the chunk that find is in at the median
      sh.splitAt(fullName,middle) splits the chunk that middle is in at middle
      sh.moveChunk(fullName,find,to) move the chunk where 'find' is to 'to' (name of shard)
      sh.setBalancerState( <bool on or not> ) turns the balancer on or off true=on, false=off
      sh.getBalancerState() return true if enabled
      sh.isBalancerRunning() return true if the balancer has work in progress on any mongos
      sh.disableBalancing(coll) disable balancing on one collection
      sh.enableBalancing(coll) re-enable balancing on one collection
      sh.addShardTag(shard,tag) adds the tag to the shard
      sh.removeShardTag(shard,tag) removes the tag from the shard
      sh.addTagRange(fullName,min,max,tag) tags the specified range of the given collection
      sh.removeTagRange(fullName,min,max,tag) removes the tagged range of the given collection
      sh.status() prints a general overview of the cluster
      >

        Attachments

          Activity

            People

            Assignee:
            kaloian.manassiev Kaloian Manassiev
            Reporter:
            kimbad Kim Baddeley
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: