This is an automated email from the ASF dual-hosted git repository. junchao pushed a commit to branch cassandra in repository https://gitbox.apache.org/repos/asf/incubator-resilientdb.git
commit 7de13e1ded0e9a6f2bb80b9204eb44c69a7e459e Author: cjcchen <[email protected]> AuthorDate: Wed Nov 5 00:32:57 2025 +0000 add --- platform/consensus/ordering/cassandra/algorithm/proposal_graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/consensus/ordering/cassandra/algorithm/proposal_graph.cpp b/platform/consensus/ordering/cassandra/algorithm/proposal_graph.cpp index 8f1101fb..9a427cba 100644 --- a/platform/consensus/ordering/cassandra/algorithm/proposal_graph.cpp +++ b/platform/consensus/ordering/cassandra/algorithm/proposal_graph.cpp @@ -521,7 +521,7 @@ bool ProposalGraph::Compare(const NodeInfo& p1, const NodeInfo& p2) { int h = (p1.proposal.header().height())%total_num_; if ( h == 0) h = total_num_; //LOG(ERROR)<<" check height cmp:"<<abs(p1.proposal.header().proposer_id() - h )<<" "<<abs(p2.proposal.header().proposer_id() - h); - return abs(p1.proposal.header().proposer_id() - h ) > abs(p2.proposal.header().proposer_id() - h); + //return abs(p1.proposal.header().proposer_id() - h ) > abs(p2.proposal.header().proposer_id() - h); if (abs(p1.proposal.sub_block_size() - p2.proposal.sub_block_size()) > 5) { //return p1.proposal.sub_block_size() < p2.proposal.sub_block_size();
