jsbali commented on code in PR #6502: URL: https://github.com/apache/hudi/pull/6502#discussion_r965487305
########## hudi-client/hudi-client-common/src/main/java/org/apache/hudi/metrics/HoodieMetrics.java: ########## @@ -130,6 +140,13 @@ public Timer.Context getIndexCtx() { return indexTimer == null ? null : indexTimer.time(); } + public Timer.Context getConflictResolutionCtx() { + if (config.isMetricsOn() && conflictResolutionTimer == null) { Review Comment: Going forward with the infer change I am only checking for LockMetricsOn -- 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: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org