Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.0
    • Component/s: None
    • Labels:

      Description

      Learner.syncWithLeader calls zk.getZKDatabase().clear() right before zk.getZKDatabase().deserializeSnapshot(leaderIs); Then the first thing deserializeSnapshot does is another clear().

      Suggest to remove the clear() in syncWithLeader.

        Attachments

        1. ZOOKEEPER-1638.patch
          0.8 kB
          Michi Mutsuzaki
        2. ZOOKEEPER-1638.patch
          0.7 kB
          neil bhakta

          Activity

            People

            • Assignee:
              neilb neil bhakta
              Reporter:
              shralex Alexander Shraer
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: