You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Stanislav Kozlovski (JIRA)" <ji...@apache.org> on 2019/05/17 11:36:00 UTC

[jira] [Commented] (KAFKA-8183) Trogdor - ProduceBench should retry on UnknownTopicOrPartitionException during topic creation

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

Stanislav Kozlovski commented on KAFKA-8183:
--------------------------------------------

The merged PR did not seem to fix the issue. I am seeing it again

> Trogdor - ProduceBench should retry on UnknownTopicOrPartitionException during topic creation
> ---------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-8183
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8183
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Stanislav Kozlovski
>            Assignee: Stanislav Kozlovski
>            Priority: Minor
>
> There exists a race condition in the Trogdor produce bench worker code where `WorkerUtils#createTopics()` [notices the topic exists|https://github.com/apache/kafka/blob/4824dc994d7fc56b7540b643a78aadb4bdd0f14d/tools/src/main/java/org/apache/kafka/trogdor/common/WorkerUtils.java#L159] yet when it goes on to verify the topics, the DescribeTopics call throws an `UnknownTopicOrPartitionException`.
> We should add sufficient retries such that this does not fail the task.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)