背景
我这个node1节点之前是observer,然后我把他drop observer了,然后重新清空meta,helper启动,add FOLLOWER后这个节点日志结果说我新添加的FOLLOWER的ROLE文件的时间戳conflict了,
然后重新添加也不行
版本是0.14.13.1
报错
fe.log报错
com.sleepycat.je.rep.impl.RepGroupImpl$NodeConflictException: (JE 7.3.7) New or moved node:node1_9010_1618418261359, is configured with the socket address: /node1:9010. It conflicts with the socket already used by the member: node1_9010_1618418506291 HANDSHAKE_ERROR: Error during the handshake between two nodes. Some validity or compatibility check failed, preventing further communication between the nodes. Environment is invalid and must be closed. Originally thrown by HA thread: RepNode node1_9010_1618418261359(-1)
分析
呃呃。。难道第一次drop observer时失败了?导致后续添加才会时间戳冲突?
解决
修改node1 9010端口为9011后重新添加即可