nsivabalan commented on code in PR #13699:
URL: https://github.com/apache/hudi/pull/13699#discussion_r2279073195
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/WriteStatus.java:
##########
@@ -109,6 +109,17 @@ public void markSuccess(HoodieRecord record,
Option<Map<String, String>> optiona
updateStatsForSuccess(optionalRecordMetadata);
}
+ /**
+ * Allows the writer to manually add record delegates to the index stats.
+ */
+ public void manuallyTrackSuccess() {
Review Comment:
oh, this is called in the constructor of HoodieWriteHandle. so, may not be
easy to override in subclasses. unless we make it a function as an argument to
assist w/ instantiation. which we can override just for FG reader based merge
handle constructor which is used for COW merge use-cases.
I am ok not touching this for now in this patch.
--
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]