Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4.2
    • Fix Version/s: 3.4.6, 3.5.0
    • Component/s: quorum
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      It looks like line 443 in QuorumPeer [1] may need to change from:

      writeLongToFile(CURRENT_EPOCH_FILENAME, acceptedEpoch);

      to

      writeLongToFile(ACCEPTED_EPOCH_FILENAME, acceptedEpoch);

      I only noticed this reading the code, so I may be wrong and I don't know yet if/how this affects the runtime.

      [1] https://github.com/apache/zookeeper/blob/trunk/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java#L443

        Attachments

        1. ZOOKEEPER-1387.patch
          4 kB
          Benjamin Reed
        2. ZOOKEEPER-1387_br34.patch
          5 kB
          Patrick Hunt

          Activity

            People

            • Assignee:
              breed Benjamin Reed
              Reporter:
              busjaeger Benjamin Busjaeger
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: