You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "José Armando García Sancio (Jira)" <ji...@apache.org> on 2023/11/30 19:40:00 UTC
[jira] [Updated] (KAFKA-15911) KRaft quorum leader should make sure the follower fetch is making progress
[ https://issues.apache.org/jira/browse/KAFKA-15911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
José Armando García Sancio updated KAFKA-15911:
-----------------------------------------------
Affects Version/s: 3.7.0
> KRaft quorum leader should make sure the follower fetch is making progress
> --------------------------------------------------------------------------
>
> Key: KAFKA-15911
> URL: https://issues.apache.org/jira/browse/KAFKA-15911
> Project: Kafka
> Issue Type: Bug
> Components: kraft
> Affects Versions: 3.7.0
> Reporter: Luke Chen
> Priority: Major
>
> Just because the leader returned a successful response to FETCH and FETCH_SNAPSHOT doesn't mean that the followers were able to handle the response correctly.
> For example, imagine the case where the log end offset (LEO) is at 1000 and all of the followers are continuously fetching at offset 0 without ever increasing their fetch offset. This can happen if the followers encounter an error when processing the FETCH or FETCH_SNAPSHOT response.
> In this scenario the leader will never be able to increase the HWM. I think that this scenario is specific to KRaft and doesn't exists in Raft because KRaft is pull vs Raft which is push.
> https://github.com/apache/kafka/pull/14428#pullrequestreview-1751408695
--
This message was sent by Atlassian Jira
(v8.20.10#820010)