danny0405 commented on code in PR #13305:
URL: https://github.com/apache/hudi/pull/13305#discussion_r2122482690


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/WriteStatus.java:
##########
@@ -181,6 +188,15 @@ private void updateStatsForFailure() {
     totalErrorRecords++;
   }
 
+  public void removeMetadataStats() {
+    this.writtenRecordDelegates.clear();
+    this.stat.removeRecordStats();

Review Comment:
   Not sure if we can unify the index stats in one class `IndexStats`: record 
delegates/record stats.



-- 
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]

Reply via email to