kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ismael Juma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-1211) Hold the produce request with ack > 1 in purgatory until replicas' HW has larger than the produce offset (KIP-101)
Date Mon, 03 Apr 2017 12:08:42 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ismael Juma updated KAFKA-1211:
-------------------------------
    Assignee: Ben Stopford
      Status: Patch Available  (was: Open)

> Hold the produce request with ack > 1 in purgatory until replicas' HW has larger than
the produce offset (KIP-101)
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-1211
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1211
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Guozhang Wang
>            Assignee: Ben Stopford
>              Labels: reliability
>             Fix For: 0.11.0.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message