Kafka
  1. Kafka
  2. KAFKA-763

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: core
    • Labels:

      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.

      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

          • Assignee:
            Swapnil Ghike
            Reporter:
            Jun Rao
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development