Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-763

Add an option to replica from the largest offset during unclean leader election

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • core

    Description

      If there is an unclean leader election, a follower may have an offset out of the range of the leader. Currently, the follower will delete all its data and refetch from the smallest offset of the leader. It would be useful to add an option to let the follower refetch from the largest offset of the leader since refetching from the smallest offset may take some time.

      Attachments

        1. kafka-763-new-v4.patch
          2 kB
          Swapnil Ghike
        2. kafka-763-new-v3.patch
          5 kB
          Swapnil Ghike
        3. kafka-763-new-v2.patch
          10 kB
          Swapnil Ghike
        4. kafka-763-new-v1.patch
          6 kB
          Swapnil Ghike
        5. kafka-763_v1.patch
          8 kB
          Jun Rao

        Activity

          People

            swapnilghike Swapnil Ghike
            junrao Jun Rao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: