Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-8653

Disable write record positions with pending compaction

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 1.0.0
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              yihua Y Ethan Guo
              yihua Y Ethan Guo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: