You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "1996fanrui (via GitHub)" <gi...@apache.org> on 2026/06/02 09:50:45 UTC

Re: [PR] [FLINK-39790][state/metrics] Fix State latency/size tracking metrics not exported without sampling [flink]

1996fanrui commented on code in PR #28257:
URL: https://github.com/apache/flink/pull/28257#discussion_r3340254724


##########
flink-runtime/src/main/java/org/apache/flink/runtime/state/metrics/StateMetricBase.java:
##########


Review Comment:
   ```suggestion
           return clearCount == 0;
   ```
   
   Thanks for fixing, not sure if  `return clearCount == 0;` is a general approach? 
   
   `clearCount == 0` means the counter is reset.



-- 
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-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org