You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Bruno Cadonna (Jira)" <ji...@apache.org> on 2021/04/14 07:21:00 UTC
[jira] [Updated] (KAFKA-12667) Incorrect error log on
StateDirectory close
[ https://issues.apache.org/jira/browse/KAFKA-12667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruno Cadonna updated KAFKA-12667:
----------------------------------
Fix Version/s: 2.7.1
> Incorrect error log on StateDirectory close
> -------------------------------------------
>
> Key: KAFKA-12667
> URL: https://issues.apache.org/jira/browse/KAFKA-12667
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Affects Versions: 2.7.0, 2.6.1
> Reporter: Jan Justesen
> Priority: Trivial
> Fix For: 2.7.1
>
>
> {{In StateDirectory.close() an error is logged about unclean shutdown if all locks are in fact released, and nothing is logged in case of an unclean shutdown.}}
>
> {code:java}
> // all threads should be stopped and cleaned up by now, so none should remain holding a lock
> if (locks.isEmpty()) {
> log.error("Some task directories still locked while closing state, this indicates unclean shutdown: {}", locks);
> }
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)