yihua commented on code in PR #12984: URL: https://github.com/apache/hudi/pull/12984#discussion_r2002208429
########## hudi-common/src/main/java/org/apache/hudi/metadata/HoodieTableMetadataUtil.java: ########## @@ -901,6 +919,53 @@ public static HoodieData<HoodieRecord> convertMetadataToRecordIndexRecords(Hoodi } } + static Set<String> getValidRecordKeysForFileSlice(HoodieTableMetaClient metaClient, Review Comment: One way to avoid reading the file group is to add ordering value to RLI entry of each record, so that we can use the order value when updating the metadata payload record in RLI in the correct ordering based on the merge mode. This requires changes to the storage layout of RLI by adding the ordering value field to the metadata record schema. -- 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: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org