Stanislav Kozlovski created KAFKA-8183:
------------------------------------------

             Summary: 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


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)

Reply via email to