[
https://issues.apache.org/jira/browse/KAFKA-19744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikita Shupletsov updated KAFKA-19744:
--------------------------------------
Summary: Restore metrics are calculated incorrectly (was: Restore metric
is calculated incorrectly)
> Restore metrics are calculated incorrectly
> ------------------------------------------
>
> Key: KAFKA-19744
> URL: https://issues.apache.org/jira/browse/KAFKA-19744
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Affects Versions: 1.0.0
> Reporter: Nikita Shupletsov
> Assignee: Nikita Shupletsov
> Priority: Major
>
> Restore metrics are calculated by measuring the time of the init method:
> [https://github.com/apache/kafka/blob/trunk/streams/src/main/java/org/apache/kafka/streams/state/internals/MeteredKeyValueStore.java#L135]
> But the restoration process has been moved to the poll loop:
> [https://github.com/apache/kafka/commit/b78d7ba5d58fa77b831244444eef005a62883f9b]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)