You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Zhanxiang (Patrick) Huang (JIRA)" <ji...@apache.org> on 2019/07/15 17:44:00 UTC
[jira] [Created] (KAFKA-8668) Improve broker shutdown time
Zhanxiang (Patrick) Huang created KAFKA-8668:
------------------------------------------------
Summary: Improve broker shutdown time
Key: KAFKA-8668
URL: https://issues.apache.org/jira/browse/KAFKA-8668
Project: Kafka
Issue Type: Improvement
Reporter: Zhanxiang (Patrick) Huang
Assignee: Zhanxiang (Patrick) Huang
During LogManager shutdown, we need to call {{timeIndex.maybeAppend()}} on each log segment close. Since in 2.0 we completely skip sanity check and do lazy mmap on indexes of segments below recovery point, in {{timeIndex.maybeAppend()}} we may need to mmap the time index file for the inactive segment if it didn't get mmap before, which is not neccessary becuase the time index hasn't changed at all.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)