You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2025/10/03 04:28:00 UTC
[jira] [Resolved] (KAFKA-19744) Restore metrics are calculated incorrectly
[ 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)