You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Cong Ding (Jira)" <ji...@apache.org> on 2021/09/23 03:05: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=17418918#comment-17418918 ]
Cong Ding commented on KAFKA-13070:
-----------------------------------
I created a PR for this: https://github.com/apache/kafka/pull/11351
> 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: Cong Ding
> 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)