You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Yi Ding (Jira)" <ji...@apache.org> on 2023/03/13 18:15:00 UTC
[jira] [Reopened] (KAFKA-14255) Fetching from follower should be disallowed if fetch from follower is disabled
[ https://issues.apache.org/jira/browse/KAFKA-14255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yi Ding reopened KAFKA-14255:
-----------------------------
> Fetching from follower should be disallowed if fetch from follower is disabled
> ------------------------------------------------------------------------------
>
> Key: KAFKA-14255
> URL: https://issues.apache.org/jira/browse/KAFKA-14255
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 2.4.0
> Reporter: David Jacot
> Assignee: David Jacot
> Priority: Critical
>
> There are clients out there that have implemented KIP-392 (Fetch From Follower) and thus use FetchRequest >= 11. However, they have not implemented KIP-320 which add the leader epoch to the FetchRequest in version 9. Without KIP-320, it is not safe to fetch from the follower. If a client does it by mistake – e.g. based on stale metadata – that could lead to offset out of range.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)