一、操作
mongodb添加仲裁节点的时候,利用 rs.reconfig(cfg)
var cfg ={"_id":"cluster",
"protocolVersion" : 1,
"members":[
{"_id":1,"host":"127.0.0.1:36037","priority":20},
{"_id":2,"host":"127.0.0.1:36038","priority":3} ,
{"_id":
mongodb添加仲裁节点的时候,利用 rs.reconfig(cfg)
var cfg ={"_id":"cluster",
"protocolVersion" : 1,
"members":[
{"_id":1,"host":"127.0.0.1:36037","priority":20},
{"_id":2,"host":"127.0.0.1:36038","priority":3} ,
{"_id":
167万+
1139
5111
9454

被折叠的 条评论
为什么被折叠?