You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Nikita Shupletsov (Jira)" <ji...@apache.org> on 2025/09/29 17:44:00 UTC
[jira] [Updated] (KAFKA-19744) Restore metrics are calculated incorrectly
[ 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)