sbernauer commented on a change in pull request #3129:
URL: https://github.com/apache/hudi/pull/3129#discussion_r664294219
##########
File path:
hudi-utilities/src/main/java/org/apache/hudi/utilities/deltastreamer/DeltaSync.java
##########
@@ -289,6 +289,8 @@ public void refreshTimeline() throws IOException {
srcRecordsWithCkpt.getRight().getLeft(), metrics,
overallTimerContext);
}
+ metrics.updateDeltaStreamerSyncMetrics(System.currentTimeMillis());
Review comment:
I would suggest to not update the metrics if an error occurred.
Personally i just need a metric that also updates when a sync happens but no
commit because of missing new data.
As i understand this patch is wrong as it also updates the metrics if
something fails, am i right?
--
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]