Skip to content

[HUDI-5654] Fixing reading of empty rollback completed meta files from data table timeline#7798

Merged
nsivabalan merged 1 commit intoapache:masterfrom
nsivabalan:mdt_reading_empty_rollback
Jan 31, 2023
Merged

[HUDI-5654] Fixing reading of empty rollback completed meta files from data table timeline#7798
nsivabalan merged 1 commit intoapache:masterfrom
nsivabalan:mdt_reading_empty_rollback

Conversation

@nsivabalan
Copy link
Copy Markdown
Contributor

instant.rollback (completed rollback file) in timeline is expected to be non-empty. But in some storage systems, we could have empty files created. So, in such cases, metadata commits /read fail since we could not parse rollback commits.

Change Logs

Fixing metadata table to read rollback info even w/ empty rollback completed meta file.

Impact

No failure with metadata table.

Risk level (write none, low medium or high below)

low.

Documentation Update

Describe any necessary documentation update if there is any new feature, config, or user-facing change

  • The config description must be updated if new configs are added or the default value of the configs are changed
  • Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
    ticket number here and follow the instruction to make
    changes to the website.

Contributor's checklist

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

@hudi-bot
Copy link
Copy Markdown
Collaborator

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

@nsivabalan nsivabalan added the priority:blocker Production down; release blocker label Jan 31, 2023
Copy link
Copy Markdown
Member

@codope codope left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you plan to add tests as a follow up?

@nsivabalan
Copy link
Copy Markdown
Contributor Author

@nsivabalan
Copy link
Copy Markdown
Contributor Author

CI failed due to known flaky test. going ahead w/ landing.

@nsivabalan nsivabalan merged commit 5acc6fe into apache:master Jan 31, 2023
fengjian428 pushed a commit to fengjian428/hudi that referenced this pull request Jan 31, 2023
…m data table timeline w/ metadata reads (apache#7798)

Fixing metadata table to read rollback info even w/ empty rollback completed meta file.
yihua pushed a commit that referenced this pull request Jan 31, 2023
…m data table timeline w/ metadata reads (#7798)

Fixing metadata table to read rollback info even w/ empty rollback completed meta file.
nsivabalan added a commit to nsivabalan/hudi that referenced this pull request Mar 22, 2023
…m data table timeline w/ metadata reads (apache#7798)

Fixing metadata table to read rollback info even w/ empty rollback completed meta file.
fengjian428 pushed a commit to fengjian428/hudi that referenced this pull request Apr 5, 2023
…m data table timeline w/ metadata reads (apache#7798)

Fixing metadata table to read rollback info even w/ empty rollback completed meta file.
flashJd pushed a commit to flashJd/hudi that referenced this pull request May 5, 2023
…m data table timeline w/ metadata reads (apache#7798)

Fixing metadata table to read rollback info even w/ empty rollback completed meta file.

(cherry picked from commit 5acc6fe)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:blocker Production down; release blocker

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants