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

Metadata Table includes Uncommitted Log Files during Bootstrap

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.11.0
    • metadata
    • None

    Description

      While working on a fix for HUDI-3322, discovered a following issue:

      If we're bootstrapping the MT during pending Rollback operation (this could happen when previous writer had MT disabled when writing the data), since bootstrapping is done after Rollback is executed (with its side-effects already being reflected on FS) bootstrapping would incorrectly include intermediary files created by the Rollback (like log-files being created with Rollback Command Block appended).

       

      Filtering of the files is performed here: 

      https://github.com/apache/hudi/blob/master/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/metadata/HoodieBackedTableMetadataWriter.java#L752

       

      Attachments

        Issue Links

          Activity

            People

              alexey.kudinkin Alexey Kudinkin
              alexey.kudinkin Alexey Kudinkin
              sivabalan narayanan, Y Ethan Guo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: