masteryhx commented on code in PR #19598: URL: https://github.com/apache/flink/pull/19598#discussion_r860786759
########## flink-state-backends/flink-statebackend-changelog/src/main/java/org/apache/flink/state/changelog/ChangelogKeyedStateBackend.java: ########## @@ -216,6 +222,7 @@ public ChangelogKeyedStateBackend( this.executionConfig = executionConfig; this.ttlTimeProvider = ttlTimeProvider; this.keyValueStatesByName = new HashMap<>(); + this.metrics = new ChangelogMetricGroup(metricGroup); Review Comment: Do you mean moving `ChangelogMetricGroup` to the paramater of constructor of ChangelogKeyedStateBackend ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org