You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Saad Ur Rahman (Jira)" <ji...@apache.org> on 2022/01/16 16:27:00 UTC

[jira] [Commented] (ZOOKEEPER-4350) improve the method: QuorumOracleMaj#overrideQuorumDecision

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-4350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17476825#comment-17476825 ] 

Saad Ur Rahman commented on ZOOKEEPER-4350:
-------------------------------------------

Can I pickup this ticket?

> improve the method: QuorumOracleMaj#overrideQuorumDecision
> ----------------------------------------------------------
>
>                 Key: ZOOKEEPER-4350
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4350
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: Ling Mao
>            Priority: Minor
>              Labels: beginner-friendly, newbie, pull-request-available
>             Fix For: 3.8.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {code:java}
> @Override
> public boolean overrideQuorumDecision(List<LearnerHandler> forwardingFollowers) {
>     if (updateNeedOracle(forwardingFollowers) && askOracle()) {
>         return true;
>     } else {
>         return false;
>     }
> }
> {code}
> What we want:
> {code:java}
> return updateNeedOracle(forwardingFollowers) && askOracle();
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)