You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/11/17 15:56:00 UTC

[jira] [Commented] (KAFKA-6046) DeleteRecordsRequest to a non-leader

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

ASF GitHub Bot commented on KAFKA-6046:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/kafka/pull/4052


> DeleteRecordsRequest to a non-leader
> ------------------------------------
>
>                 Key: KAFKA-6046
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6046
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Tom Bentley
>            Assignee: Ted Yu
>             Fix For: 1.1.0
>
>
> When a `DeleteRecordsRequest` is sent to a broker that's not the leader for the partition the  `DeleteRecordsResponse` returns `UNKNOWN_TOPIC_OR_PARTITION`. This is ambiguous (does the topic not exist on any broker, or did we just sent the request to the wrong broker?), and inconsistent (a `ProduceRequest` would return `NOT_LEADER_FOR_PARTITION`).



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