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

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

stanislavkozlovski commented on pull request #6532: KAFKA-8183: Add retries to 
WorkerUtils#verifyTopics
URL: https://github.com/apache/kafka/pull/6532
 
 
   https://issues.apache.org/jira/browse/KAFKA-8183
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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)

Reply via email to