XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The following constructor in QuorumPeer seems to be never used, starting at line 370 in my branch:

          /**
           * For backward compatibility purposes, we instantiate QuorumMaj by default.
           */
      
          public QuorumPeer(Map<Long, QuorumServer> quorumPeers, File dataDir,
                  File dataLogDir, int electionType,
                  long myid, int tickTime, int initLimit, int syncLimit,
                  ServerCnxnFactory cnxnFactory) throws IOException {
              this(quorumPeers, dataDir, dataLogDir, electionType, myid, tickTime,
                      initLimit, syncLimit, cnxnFactory,
                      new QuorumMaj(countParticipants(quorumPeers)));
          }
      

        Attachments

          Activity

            People

            • Assignee:
              thkoch Thomas Koch
              Reporter:
              thkoch Thomas Koch
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: