提交 778247d6 编写于 作者: Z zhangshuang

modify service proxy same response quorum

上级 e3c87355
......@@ -481,7 +481,8 @@ public class ServiceProxy extends TOMSender {
protected int getReplyQuorum() {
if (getViewManager().getStaticConf().isBFT()) {
return (int) Math.ceil((getViewManager().getCurrentViewN() + getViewManager().getCurrentViewF()) / 2) + 1;
// return (int) Math.ceil((getViewManager().getCurrentViewN() + getViewManager().getCurrentViewF()) / 2) + 1;
return getViewManager().getCurrentViewF() + 1;
} else {
return (int) Math.ceil((getViewManager().getCurrentViewN()) / 2) + 1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册