dingsainan created KAFKA-8738: --------------------------------- Summary: Cleaning thread blocked when more than one ALTER_REPLICA_LOG_DIRS requests sent Key: KAFKA-8738 URL: https://issues.apache.org/jira/browse/KAFKA-8738 Project: Kafka Issue Type: Bug Affects Versions: 2.1.1 Reporter: dingsainan
Hi, I am experiencing one situation that the log cleaner dose not work for the related topic-partition when using --kafka-reassign-partitions.sh tool for V2.1.1 for more than one time frequently. My operation: submitting one task for migration replica in one same broker first, when the previous task still in progress, we submit one new task for the same topic-partition. My search: Kafka executes abortAndPauseCleaning() once task is submitted, shortly, another task is submitted for the same topic-partition, so the clean thread status is {color:#ff0000}LogCleaningPaused(2){color} currently. When the second task completed, the clean thread will be resumed for this topic-partition once. In my case, the previous task is killed directly, no resumeClean() is executed for the first task, so when the second task is completed, the clean status for the topic-partition is still {color:#ff0000}LogCleaningPaused(1){color}, which blocks the clean thread for the topic-partition. _That's all my search, please confirm._ _Thanks_ _Nora_ -- This message was sent by Atlassian JIRA (v7.6.14#76016)