kafka-jira 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-4546) a consumer could miss tombstone when leader changes during the reads
Date Sat, 28 Oct 2017 15:41:00 GMT

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

Ismael Juma updated KAFKA-4546:
-------------------------------
    Affects Version/s:     (was: 0.8.2.1)
                       1.0.0
                       0.10.0.0
                       0.11.0.0

> a consumer could miss tombstone when leader changes during the reads
> --------------------------------------------------------------------
>
>                 Key: KAFKA-4546
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4546
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.10.0.0, 0.10.1.0, 0.11.0.0, 1.0.0
>            Reporter: Jun Rao
>
> Currently, in a compacted topic, we delay the removal of a tombstone by delete.retention.ms
to avoid the case that a consumer reads a non-tombstone before the tombstone, then tombstone
is removed and the consumer misses the tombstone.
> However, tombstones are removed independently in different replicas. Supposed that a
tombstone is already removed in the follower, but not in the leader. A consumer could read
a non-tombstone message on the leader, then the leader changes, and the consumer will miss
the tombstone on the new leader since it's already deleted.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message