[
https://issues.apache.org/jira/browse/KAFKA-19744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias J. Sax resolved KAFKA-19744.
-------------------------------------
Fix Version/s: 4.2.0
Resolution: Fixed
> 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
> Fix For: 4.2.0
>
>
> 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)