0
点赞
收藏
分享

微信扫一扫

mongodb Reconfig attempted to install a config that would change the implicit default write concern.

WikongGuan 2022-01-04 阅读 50

一、操作

mongodb添加仲裁节点的时候,利用 rs.reconfig(cfg)

 

二、执行报错 

如果执行rs.addArb("127.0.0.1:36040") ,这个执行无反应 ,一直卡着

三、解决方式

官网找了段命令

https://docs.mongodb.com/manual/reference/command/setDefaultRWConcern/ 

 

rs.addArb("127.0.0.1:36040")同样也能成功了 

 

举报

相关推荐

0 条评论