Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.6, 3.5.0
    • Component/s: None
    • Labels:
      None

      Description

      The leader server currently loads the database before running leader election when trying to figure out the zxid it needs to use for the election and again when it starts leading. This is problematic for larger databases so we should remove the redundant load if possible.

      The code references are:

      1. getLastLoggedZxid() in QuorumPeer;
      2. loadData() in ZooKeeperServer.

        Attachments

        1. ZOOKEEPER-1642.patch
          0.8 kB
          Flavio Junqueira
        2. ZOOKEEPER-1642.patch
          2 kB
          Flavio Junqueira

          Activity

            People

            • Assignee:
              fpj Flavio Junqueira
              Reporter:
              fpj Flavio Junqueira
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: