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

Hold the produce request with ack > 1 in purgatory until replicas' HW has larger than the produce offset (KIP-101)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.11.0.0
    • None

    Description

      Today during leader failover we will have a weakness period when the followers truncate their data before fetching from the new leader, i.e., number of in-sync replicas is just 1. If during this time the leader has also failed then produce requests with ack >1 that have get responded will still be lost. To avoid this scenario we would prefer to hold the produce request in purgatory until replica's HW has larger than the offset instead of just their end-of-log offsets.

      Attachments

        Issue Links

          Activity

            People

              benstopford Ben Stopford
              guozhang Guozhang Wang
              Votes:
              1 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: