You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Y Ethan Guo (Jira)" <ji...@apache.org> on 2024/12/05 17:21:00 UTC
[jira] [Closed] (HUDI-8653) Disable write record positions with pending compaction
[ https://issues.apache.org/jira/browse/HUDI-8653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Y Ethan Guo closed HUDI-8653.
-----------------------------
Resolution: Fixed
> Disable write record positions with pending compaction
> ------------------------------------------------------
>
> Key: HUDI-8653
> URL: https://issues.apache.org/jira/browse/HUDI-8653
> Project: Apache Hudi
> Issue Type: Improvement
> Reporter: Y Ethan Guo
> Assignee: Y Ethan Guo
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 1.0.0
>
>
> When there is a pending compaction, the new base files to be generated by compaction is not available during this transaction. Given the log files in MOR from this transaction can be attached to the base file generated by the compaction in the latest file slice, the accurate record positions may not be derived. So we should disable WRITE_RECORD_POSITIONS in this case to avoid incorrect merging results, as the log merging has not accounted for this yet.
> After HUDI-8654 fixes the merging behavior, we can remove this check.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)