A string that specifies whether the balancer thread is running or stopped. 指定平衡器线程是否正在运行或停止的字符串。Possible values are:可能的值包括:
"full"
Balancer thread is running but not necessarily in a balancing round.平衡器线程正在运行,但不一定处于平衡循环中。
"off"
Balancer thread is stopped. 平衡器线程已停止。No chunk balancing can occur in this mode.在此模式下无法进行块平衡。
"inBalancerRound"
A boolean that specifies if the balancer is currently in a balancing round; i.e. distributing chunks. 一个布尔值,指定平衡器当前是否处于平衡循环中;即分发块。
"numBalancerRounds"
The number of balancer rounds which have occurred since the config servers were started. 自配置服务器启动以来发生的平衡器循环数。This value is not persisted and is reset to 0 upon restart of the config servers. 此值不会持久化,并在重新启动配置服务器时重置为0。
Example示例
Connect to a mongos instance and issue the following command:连接到mongos实例并发出以下命令: