两个节点recovering,一个节点SECONDARY,如何恢复为primary_primary怎么变成secondary-CSDN博客

网站介绍:文章浏览阅读1.5k次。replica sets 两个节点意外recovering,一个primary,关闭两个recovering节点后,primary节点变为SECONDARY用以下步骤恢复到primaryreplset:SECONDARY> cfg = rs.conf()replset:SECONDARY> conf = {_id:cfg._id,version: cfg.version + 1,mem..._primary怎么变成secondary