apache / apache/hudi

Prempt the condition to check whether MDT can be rolled back before running rollback in data table

Open
#16,100 0 comments 0 reactions 1 assignee Assigned to @nsivabalan View on GitHub
area:metadata-table from-jira priority:high type:devtask
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

Description

Currently, while restoring, after we have processed N rollbacks in data table (rollbacks are not yet committed), we call metadata writer update method which then checks if there is at least a base file upto the point being restored. If not, then it aborts and the N rollback processing is wasted. The check in metadata writer update can be moved upfront.  

## JIRA info

- Link: https://issues.apache.org/jira/browse/HUDI-6575
- Type: Task
- Fix version(s):
- 1.1.0

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.