51. Which of the following is true when using sh.stopBalancer()? Check all that apply:
题目选项
- A.The balancer will wait for the current balancing round to complete before stopping.
- B.The command sh.setBalancerState(true) will start the balancer.
- C.You can specify a timeout when issuing sh.stopBalancer(timeout).
答案置信度:中
正确答案:A、B
解析语言:中文
sh.stopBalancer() 会等当前这一轮均衡结束后再停掉均衡器(A);要重新启动均衡器可用 sh.startBalancer() 或等价的 sh.setBalancerState(true)(B)。C 错:经典版本的 sh.stopBalancer() 不接受 timeout 参数,考试中它是干扰项。