[ https://issues.apache.org/jira/browse/FLINK-17468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17095773#comment-17095773 ]
Lu Niu commented on FLINK-17468: -------------------------------- +1. I think it will be very helpful to debug checkpoint slowness. our team created internal patch to track the uploading part in [https://github.com/apache/flink/blob/5b71c7f2fe36c760924848295a8090898cb10f15/flink-state-backends/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/snapshot/RocksIncrementalSnapshotStrategy.java#L319] which is a very trivial approach. In general, the upper api should be more flexible so that different implementation (FS, RocksDB) can decide what metrics to expose, instead of just sync and async. > Provide more detailed metrics why asynchronous part of checkpoint is taking > long time > ------------------------------------------------------------------------------------- > > Key: FLINK-17468 > URL: https://issues.apache.org/jira/browse/FLINK-17468 > Project: Flink > Issue Type: New Feature > Components: Runtime / Checkpointing, Runtime / Metrics, Runtime / > State Backends > Affects Versions: 1.10.0 > Reporter: Piotr Nowojski > Priority: Major > > As [reported by > users|https://lists.apache.org/thread.html/r0833452796ca7d1c9d5e35c110089c95cfdadee9d81884a13613a4ce%40%3Cuser.flink.apache.org%3E] > it's not obvious why asynchronous part of checkpoint is taking so long time. > Maybe we could provide some more detailed metrics/UI/logs about uploading > files, materializing meta data, or other things that are happening during the > asynchronous checkpoint process? -- This message was sent by Atlassian Jira (v8.3.4#803005)