jack Lei created HUDI-7011:
------------------------------

             Summary:  a metric to indicate whether rollback has occurred in 
final compaction state 
                 Key: HUDI-7011
                 URL: https://issues.apache.org/jira/browse/HUDI-7011
             Project: Apache Hudi
          Issue Type: Improvement
            Reporter: jack Lei


add a metric to indicate whether rollback has occurred in final compaction 
state to warn people check flink job.

currently, when flink job start async compaction on a mor table, the metrics in 
org.apache.hudi.metrics.FlinkCompactionMetrics 
will update including pendingCompactionCount,compactionDelay,compactionCost.

However, when a compaction failed need a metric to
tell user a specific instant whether the final compaction has occured rollback.


so attemp to add a metric named compactionFailedState in 
org.apache.hudi.sink.compact.CompactionCommitSink to record the instance
happend rollback, which also means the current compaction failed in current time



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to