You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Vikas Singh (Jira)" <ji...@apache.org> on 2020/09/28 21:15:00 UTC
[jira] [Commented] (KAFKA-9370) Return UNKNOWN_TOPIC_OR_PARTITION
if topic deletion is in progress
[ https://issues.apache.org/jira/browse/KAFKA-9370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17203527#comment-17203527 ]
Vikas Singh commented on KAFKA-9370:
------------------------------------
https://github.com/apache/kafka/pull/9347
> Return UNKNOWN_TOPIC_OR_PARTITION if topic deletion is in progress
> ------------------------------------------------------------------
>
> Key: KAFKA-9370
> URL: https://issues.apache.org/jira/browse/KAFKA-9370
> Project: Kafka
> Issue Type: Bug
> Reporter: Vikas Singh
> Assignee: Vikas Singh
> Priority: Major
>
> `KafkaApis::handleCreatePartitionsRequest` returns `INVALID_TOPIC_EXCEPTION` if the topic is getting deleted. Change it to return `UNKNOWN_TOPIC_OR_PARTITION` instead. After the delete topic api returns, client should see the topic as deleted. The fact that we are processing deletion in background shouldn't have any impact.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)