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

Leader should not use txnlog for synchronization if txnlog is corrupted or missing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.5.0
    • None
    • server
    • None

    Description

      It is possible that a human error caused some txnlog files to be remove from the log dir.

      The leader should not use txnlog to synchronize with the learner if it found that there is a missing log or the file is corrupted. Since this can cause data inconsistency.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              thawan Thawan Kooburat
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: