codings-dan commented on code in PR #737:
URL: https://github.com/apache/ratis/pull/737#discussion_r965711623


##########
ratis-server/src/main/java/org/apache/ratis/server/impl/PeerConfiguration.java:
##########
@@ -157,6 +157,10 @@ boolean hasMajority(Collection<RaftPeerId> others, 
RaftPeerId selfId) {
     return num > size() / 2;
   }
 
+  long getMajorityCount() {

Review Comment:
   done



##########
ratis-server/src/main/java/org/apache/ratis/server/impl/RaftConfigurationImpl.java:
##########
@@ -231,6 +231,10 @@ boolean hasMajority(Collection<RaftPeerId> others, 
RaftPeerId selfId) {
         (oldConf == null || oldConf.hasMajority(others, selfId));
   }
 
+  long getMajorityCount() {

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to