danny0405 commented on code in PR #13699:
URL: https://github.com/apache/hudi/pull/13699#discussion_r2265602705
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/FileGroupReaderBasedMergeHandle.java:
##########
@@ -106,7 +171,15 @@ public FileGroupReaderBasedMergeHandle(HoodieWriteConfig
config, String instantT
} else {
this.cdcLogger = Option.empty();
}
- init(operation, this.partitionPath);
+ }
+
+ private void initRecordIndexCallback() {
+ if (this.writeStatus.isTrackingSuccessfulWrites()) {
Review Comment:
The `isTrackingSuccessfulWrites` flag in write status comes from
`hoodieTable.shouldTrackSuccessRecords()`, which is true when RLI or
partitioned RLI is enabled, we should skip the location tracing for compaction
which is redundant.
--
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]