You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jiangjie Qin (JIRA)" <ji...@apache.org> on 2018/02/15 22:46:00 UTC

[jira] [Created] (KAFKA-6568) LogCleanerManager.doneDeleting() should check the partition state before deleting the in progress partition

Jiangjie Qin created KAFKA-6568:
-----------------------------------

             Summary: LogCleanerManager.doneDeleting() should check the partition state before deleting the in progress partition
                 Key: KAFKA-6568
                 URL: https://issues.apache.org/jira/browse/KAFKA-6568
             Project: Kafka
          Issue Type: Bug
    Affects Versions: 0.11.0.2, 1.0.0, 0.10.2.1, 0.10.1.1
            Reporter: Jiangjie Qin
            Assignee: Jiangjie Qin
             Fix For: 1.1.0


{{LogCleanerManager.doneDeleting()}} removes the partition from the {{inProgress}} map without checking if the partition is paused or not. This will cause the paused partition state to be lost. And may cause another thread calling {{LogCleanerManager.abortAndPauseCleaning()}} to block indefinitely waiting on the partition state to become paused.



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