Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-4350

improve the method: QuorumOracleMaj#overrideQuorumDecision

    XMLWordPrintableJSON

Details

    Description

      @Override
      public boolean overrideQuorumDecision(List<LearnerHandler> forwardingFollowers) {
          if (updateNeedOracle(forwardingFollowers) && askOracle()) {
              return true;
          } else {
              return false;
          }
      }
      

      What we want:

      return updateNeedOracle(forwardingFollowers) && askOracle();
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              maoling Ling Mao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m