Closed smmdwa closed 3 years ago
// 响应客户端(成功一半) if (success.get() >= (count / 2)) {
应该是:count / 2+1 地址:https://github.com/stateIs0/lu-raft-kv/blob/master/lu-raft-kv/src/main/java/cn/think/in/java/impl/DefaultNode.java#L323
理解错了,抱歉,代码没有问题
// 响应客户端(成功一半) if (success.get() >= (count / 2)) {
应该是:count / 2+1 地址:https://github.com/stateIs0/lu-raft-kv/blob/master/lu-raft-kv/src/main/java/cn/think/in/java/impl/DefaultNode.java#L323