You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/06/24 03:15:54 UTC

[GitHub] [hudi] Aiden-Dong commented on a diff in pull request #5945: [HUDI-4308] READ_OPTIMIZED read mode will temporary loss of data when compaction

Aiden-Dong commented on code in PR #5945:
URL: https://github.com/apache/hudi/pull/5945#discussion_r905683655


##########
hudi-common/src/main/java/org/apache/hudi/BaseHoodieTableFileIndex.java:
##########
@@ -279,7 +279,8 @@ private void doRefresh() {
 
     validate(activeTimeline, queryInstant);
 
-    if (tableType.equals(HoodieTableType.MERGE_ON_READ) && queryType.equals(HoodieTableQueryType.SNAPSHOT)) {
+    if (tableType.equals(HoodieTableType.MERGE_ON_READ) && queryType.equals(HoodieTableQueryType.SNAPSHOT)
+        || (queryType.equals(HoodieTableQueryType.READ_OPTIMIZED))) {

Review Comment:
   thanks for your review, I have added relevant content in https://issues.apache.org/jira/browse/HUDI-4308。



-- 
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-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org