You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Kowshik Prakasam (Jira)" <ji...@apache.org> on 2021/07/22 18:56:00 UTC

[jira] [Commented] (KAFKA-13070) LogManager shutdown races with periodic work scheduled by the instance

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

Kowshik Prakasam commented on KAFKA-13070:
------------------------------------------

[~manasvigupta]  I didn't realize you had assigned it to yourself. I was actually planning on working on this myself. Are you working on a fix for this relatively soon? If not, I will address it with a PR relatively soon. Please let me know.

> LogManager shutdown races with periodic work scheduled by the instance
> ----------------------------------------------------------------------
>
>                 Key: KAFKA-13070
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13070
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Kowshik Prakasam
>            Assignee: Manasvi Gupta
>            Priority: Major
>
> In the LogManager shutdown sequence (in LogManager.shutdown()), we don't cancel the periodic work scheduled by it prior to shutdown. As a result, the periodic work could race with the shutdown sequence causing some unwanted side effects. This is reproducible by a unit test in LogManagerTest.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)