43. Which replica set node member type requires the priority to be 0? Check all that apply:
题目选项
- A.secondary
- B.hidden
- C.slaveDelay
答案置信度:高
正确答案:B、C
解析语言:中文
hidden(隐藏)节点和 slaveDelay(延迟)节点都不应被选为主,因此 MongoDB 要求它们的 priority 为 0,否则 rs.add/rs.reconfig 会报配置错误。普通 secondary 可以设置任意优先级并参与选举。