You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2024/05/07 11:05:00 UTC

[jira] [Commented] (KAFKA-16684) FetchResponse#responseData could return incorrect data

    [ https://issues.apache.org/jira/browse/KAFKA-16684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17844251#comment-17844251 ] 

Chia-Ping Tsai commented on KAFKA-16684:
----------------------------------------

After [https://github.com/apache/kafka/commit/2b8aff58b575c199ee8372e5689420c9d77357a5] , I don't think the "cache" is useful. Hence, we can just remove the cache to fix this potential bug

> FetchResponse#responseData could return incorrect data
> ------------------------------------------------------
>
>                 Key: KAFKA-16684
>                 URL: https://issues.apache.org/jira/browse/KAFKA-16684
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Minor
>
> [https://github.com/apache/kafka/commit/2b8aff58b575c199ee8372e5689420c9d77357a5] make it accept input to return "partial" data. The content of output is based on the input but we cache the output ... It will return same output even though we pass different input. That is a potential bug.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)