版本:tokumx-1.5.0
错误一
"errmsg" : "loading local.system.replset config (LOADINGCONfig)"
存在local.oplog.rs和local.system.repset表,
错误二
"errmsg" : "local.oplog.rs is not empty on the initiating member. cannot initiate."
进行rs.initiate(config)时,已经存在oplog.rs表
错误三
"errmsg" : "all members and seeds must be reachable to initiate set"
local.oplog.rses中存储的集群信息与待初始化的不同,删除即可
错误四
replSet can't get local.system.replset config from self or any seed (EMPTYCONfig)
表system.replset为空
错误五
No replica set primary available for query with ReadPreference PRIMARY
添加新节点时,前端感知到的repset集群信息都会有变化,当未指定ReadPreference为Secondary时,且在添加时secondary不可用,就会导致primary持续处于等待新secondary节点的状态,从而导致这个报错,当前secodnary节点的状态为down
错误六
"info" : "Config Now saved locally. Should come online in about a minute.",
提示保存正常,但实际可能并未正常保存,可通过查看Local.system.repset或者log来判断
错误七
"errmsg" : "took a long time to get write lock, so not initiating. Initiate when server less busy?"
可能存在一个比较大的Oplog.rs表