zhangyue19921010 commented on code in PR #12466:
URL: https://github.com/apache/hudi/pull/12466#discussion_r1889972149
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieWriteClient.java:
##########
@@ -568,6 +569,30 @@ protected void postCommit(HoodieTable table,
HoodieCommitMetadata metadata, Stri
// Delete the marker directory for the instant.
WriteMarkersFactory.get(config.getMarkersType(), table, instantTime)
.quietDeleteMarkerDir(context, config.getMarkersDeleteParallelism());
+ if (metrics.getClusteringInstantTimerCtx() != null) {
Review Comment:
Check Config `config.isMetricsOn()` instead of trying to create a Timer.
What we want is to monitor clustering and compaction instant here rat
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]